Discussion:
Doule y axis with plot
gigiolone123
2018-11-03 11:23:22 UTC
Permalink
hi
i't possible to set double axis with plot?

(it's possibile whith plotyy but i don't know if i can to do it with plo)


i want this :

https://gyazo.com/898a51485b74b3840710bdf43aeabd31




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Marco Atzeri
2018-11-03 13:18:19 UTC
Permalink
Post by gigiolone123
hi
i't possible to set double axis with plot?
(it's possibile whith plotyy but i don't know if i can to do it with plo)
https://gyazo.com/898a51485b74b3840710bdf43aeabd31
yon need to use plotyy

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren
LucaLuca
2018-11-03 13:33:36 UTC
Permalink
thank you for answer..

to use plotyy i find 2 problem:

1)i can't modify axis :

set (gca, 'yaxislocation', 'right', 'XTick',ANM, 'xticklabel',ABD);

(it give me error)

2)i can't to change linecolor (both)




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
gigiolone123
2018-11-03 13:36:16 UTC
Permalink
thank you for answer..

to use plotyy i find 2 problem:

1)i can't modify axis :

set (gca, 'yaxislocation', 'right', 'XTick',ANM, 'xticklabel',ABD);

(it give me error)

2)i can't to change linecolor (both)



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
mmuetzel
2018-11-07 16:31:34 UTC
Permalink
Read the documentation for plotyy:
The return value ax is a vector with the axes handles of the two y-axes. h1
and h2 are handles to the objects generated by the plot commands.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Loading...