Skip to content

Commit

Permalink
Support 'linewidth' attribute for 3d line plot
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinen committed Feb 12, 2024
1 parent 360acfa commit f833a41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jlgr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,8 @@ function plot_data(flag=true, plt=plt[])
plt.kvs[:zrange] = dmin, dmax
colorbar(0.05)
elseif kind === :plot3
linewidth = get(plt.kvs, :linewidth, 1)
GR.setlinewidth(linewidth)
GR.polyline3d(x, y, z)
draw_axes(kind, 2)
elseif kind === :scatter3
Expand Down

0 comments on commit f833a41

Please sign in to comment.