Double Xaxis pb with ticks [message #74506] |
Tue, 18 January 2011 12:19 |
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
|
|
|