comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » secondary y-axis won't plot on right hand side of graph
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
secondary y-axis won't plot on right hand side of graph [message #74923] Tue, 08 February 2011 19:35
Meredith Pind is currently offline  Meredith Pind
Messages: 13
Registered: February 2011
Junior Member
Hi all,

I am trying to plot a secondary y-axis on my graph, but it keeps
ending up to the left of the original y-axis and does not plot the
lines of the secondary x or y axis to close the box around the graph.
The tickmarks and values are also facing in the same direction as the
primary axis The script I have written is as follows:

p4 = plot(T, axis_style = 1, color = 'purple', ytitle = 'Temperature')

p5 = plot(albedo, /current, axis_style =0, tickdir = 1, color =
'green')

p6 = axis('y', target = p5, textpos = 1, title = 'Albedo')

Any help would be greatly appreciated!
[Message index]
 
Read Message
Previous Topic: Faster approach to calculating z-scores
Next Topic: v8 plot challenge

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 12:23:24 PDT 2025

Total time taken to generate the page: 3.28024 seconds