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

Home » Public Forums » archive » Double Xaxis pb with ticks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Double Xaxis pb with ticks [message #74506] Tue, 18 January 2011 12:19
kisCA is currently offline  kisCA
Messages: 78
Registered: January 2011
Member
Hi there,

I'm trying to make a plot with a double Xaxis.

I would like not to have ticks of my first axis on the second one. Do
you know how to manage it?

Here is my code:

pct=0 + indgen(10)
!p.font=0 ;use postscript fonts
set_plot, 'ps'
ext='.eps'
cs=0 ;charcter size
!p.thick=3 ;data
!x.thick=2 ;x axis
!y.thick=2 ;y axis
device, filename='Ozone Dial'+ext, encapsulated=eps, $
/helvetica,/isolatin1, xsize=14, ysize=10,font_size=8,
landscape=0, decomposed=0, color=1
plot,pct,zo3,/nodata,xstyle=1,xrange=[0,9],ystyle=1,yrange=[ 18,50],$
ytitle='Altitude (km)',xtitle='Resolution (km)'
oplot,resolution,zo3,linestyle=1
AXIS,Xaxis=1,xrange=[0,50],/SAVE,xtitle='Precision (%)'
oplot,precision,zo3,linestyle=0

Thanks for your help
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL routine to fill in gaps in line? / Searching IDL routine libraries?
Next Topic: Re: WSet to negative value

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

Current Time: Wed Oct 08 20:06:36 PDT 2025

Total time taken to generate the page: 0.42784 seconds