File tree Expand file tree Collapse file tree 2 files changed +19
-22
lines changed Expand file tree Collapse file tree 2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
8
8
Printf = " de0858da-6303-5e67-8744-51eddeeeb8d7"
9
9
10
10
[compat ]
11
- julia = " 1.10"
12
11
Makie = " 0.24.1"
12
+ julia = " 1.10"
13
13
14
14
[extras ]
15
15
Documenter = " e30172f5-a6a5-5a46-863b-614d45cd2de4"
Original file line number Diff line number Diff line change 29
29
```
30
30
31
31
"""
32
- @recipe (SmithPlot, z) do scene
33
- Attributes (
34
- color= :teal ,
35
- colormap= :viridis ,
36
- line_width= 2.8 ,
37
- linestyle= :solid ,
38
- label= nothing ,
39
- reflection= false ,
40
- freq = Float64[],
41
- cycle= [:color ]
42
- )
32
+ @recipe SmithPlot (z, ) begin
33
+ color= :teal
34
+ colormap= :viridis
35
+ line_width= 2.8
36
+ linestyle= :solid
37
+ label= nothing
38
+ reflection= false
39
+ freq = Float64[]
40
+ cycle= [:color ]
43
41
end
44
42
45
43
Makie. preferred_axis_type (plot:: SmithPlot ) = SmithAxis
74
72
75
73
76
74
"""
77
- @recipe (SmithScatter, z) do scene
78
- Attributes (
79
- color= :teal ,
80
- colormap= :viridis ,
81
- marker= :circle ,
82
- markersize= 9 ,
83
- label= " " ,
84
- reflection= false ,
85
- freq = Float64[],
75
+ @recipe SmithScatter (z, ) begin
76
+ color= :teal
77
+ colormap= :viridis
78
+ marker= :circle
79
+ markersize= 9
80
+ label= " "
81
+ reflection= false
82
+ freq = Float64[]
86
83
cycle= [:color ]
87
- )
88
84
end
89
85
90
86
Makie. preferred_axis_type (plot:: SmithScatter ) = SmithAxis
209
205
210
206
211
207
function Makie. plot! (sc:: SmithScatter )
208
+ @show sc. attributes
212
209
z = sc[1 ]
213
210
color = sc[:color ]
214
211
markersize = sc[:markersize ]
You can’t perform that action at this time.
0 commit comments