Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
> > You need to make sure you give the same scaling bits to the axis call as > to the plot call (i.e. requests for exact range and extended range) > otherwise it will get scrambled--I would describe this as an infelicity. > How do i give the same scaling bits ? Also what is a scaling bit ? How do i ger exact ranges ? Thanks > -- > +------------------------+---------------------------------- --+---------+ > | James Tappin, | School of Physics & Space Research | O__ | > | sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` | > | Ph: 0121-414-6462. Fax: 0121-414-3722 | | > +----------------------------------------------------------- --+---------+ > >
Surinder P. Singh (surinder@eng.umd.edu) wrote: : Here is the Problem description: : I am trying to plot two plots with two : separate yaxis on the same xaxis. : I use the following code. : plot, x, y, ystyle=4, /noerase : axis,yaxis=0, ytitle=' Electric field (kV/cm) ', chars=1.5 : Now the axis command does not plot the same axis scale. : Hence the plot and the axis do not match. : It doesn't always happen, but some times. : Hard to say when. : Now why is this happening ? I mean I had always assumed that : axis will save the axis range and plot it exactly. : (BTW,I am using other options in plot like xmargin, chars, xtitle, yrange etc.) : Any help is much appreciated. : Surinder You need to make sure you give the same scaling bits to the axis call as to the plot call (i.e. requests for exact range and extended range) otherwise it will get scrambled--I would describe this as an infelicity. -- +------------------------+---------------------------------- --+---------+ | James Tappin, | School of Physics & Space Research | O__ | | sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` | | Ph: 0121-414-6462. Fax: 0121-414-3722 | | +----------------------------------------------------------- --+---------+