Don't color points
This commit is contained in:
parent
c4233e2896
commit
5c2bf5d76c
@ -1024,9 +1024,13 @@ end
|
|||||||
@assert length(g.args) == 1 && typeof(g.args[1]) <: AbstractMatrix
|
@assert length(g.args) == 1 && typeof(g.args[1]) <: AbstractMatrix
|
||||||
seriestype := :spy
|
seriestype := :spy
|
||||||
mat = g.args[1]
|
mat = g.args[1]
|
||||||
if length(unique(mat[mat .!= 0])) < 2
|
lunique = length(unique(mat[mat .!= 0]))
|
||||||
|
if lunique == 2
|
||||||
legend --> nothing
|
legend --> nothing
|
||||||
seriescolor --> cgrad([invisible(), fg_color(plotattributes)])
|
seriescolor --> cgrad([invisible(), fg_color(plotattributes)])
|
||||||
|
elseif lunique < 2
|
||||||
|
legend --> nothing
|
||||||
|
seriescolor --> fg_color(plotattributes)
|
||||||
end
|
end
|
||||||
n,m = size(mat)
|
n,m = size(mat)
|
||||||
Plots.SliceIt, 1:m, 1:n, Surface(mat)
|
Plots.SliceIt, 1:m, 1:n, Surface(mat)
|
||||||
@ -1045,7 +1049,7 @@ end
|
|||||||
markersize := 1.5
|
markersize := 1.5
|
||||||
end
|
end
|
||||||
markerstrokewidth := 0
|
markerstrokewidth := 0
|
||||||
marker_z := zs
|
#marker_z := zs
|
||||||
label := ""
|
label := ""
|
||||||
x := cs
|
x := cs
|
||||||
y := rs
|
y := rs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user