Cosmetic changes
This commit is contained in:
parent
e1dda97776
commit
75e13f373e
@ -331,9 +331,9 @@ function _override_seriestype_check(plotattributes::AKW, st::Symbol)
|
|||||||
if !RecipesPipeline.is3d(st) && !(st in (:contour, :contour3d))
|
if !RecipesPipeline.is3d(st) && !(st in (:contour, :contour3d))
|
||||||
z = plotattributes[:z]
|
z = plotattributes[:z]
|
||||||
if !isa(z, Nothing) &&
|
if !isa(z, Nothing) &&
|
||||||
(size(plotattributes[:x]) == size(plotattributes[:y]) == size(z))
|
(size(plotattributes[:x]) == size(plotattributes[:y]) == size(z))
|
||||||
st = (st == :scatter ? :scatter3d : :path3d)
|
st = (st == :scatter ? :scatter3d : :path3d)
|
||||||
plotattributes[:seriestype] = st
|
plotattributes[:seriestype] = st
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
st
|
st
|
||||||
|
|||||||
@ -320,9 +320,9 @@ julia> scatter3d([0,1,2,3],[0,1,4,9],[0,1,8,27])
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
mesh3d(x,y,z)
|
mesh3d(x,y,z)
|
||||||
mesh3d(x,y,z;i,j,k)
|
mesh3d(x,y,z; connections)
|
||||||
|
|
||||||
Plot a 3d mesh. On Plotly the triangles can be specified using the i,j,k arguments.
|
Plot a 3d mesh. On Plotly the triangles can be specified using the connections argument.
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
```Julia
|
```Julia
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user