Skip to content

Commit 1f121ee

Browse files
committed
vgcc right y axis
1 parent e55e4cd commit 1f121ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

chans/chanplots/vgcc-plot.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,15 @@ func (pl *VGCCPlot) GVRun() { //types:add
8989
plot.SetFirstStyler(dir.Float64("V"), func(s *plot.Style) {
9090
s.Role = plot.X
9191
})
92-
ons := []string{"Gvgcc", "M", "H"}
92+
plot.SetFirstStyler(dir.Float64("Gvgcc"), func(s *plot.Style) {
93+
s.On = true
94+
s.Plot.Title = "VGCC G(t)"
95+
s.RightY = true
96+
})
97+
ons := []string{"M", "H"}
9398
for _, on := range ons {
9499
plot.SetFirstStyler(dir.Float64(on), func(s *plot.Style) {
95100
s.On = true
96-
s.Plot.Title = "VGCC G(V)"
97101
})
98102
}
99103
if pl.Tabs != nil {

0 commit comments

Comments
 (0)