v***@gmail.com
2014-07-15 03:09:38 UTC
Hello,
I am trying to plot a temperature contour vs log pressure and latitude. I can successfully produce a plot with a log y axis or with a linear reversed y axis (high pressure at the bottom). However when I try to use both keywords I get the above error. Below is a copy of the code in question:
contour, zt(*,*,itime), lat,zp(*,*,itime), color=0, background=255, $
Xtitle='Latitude', Ytitle='Pressure [Pa]', $
Title = 'Zonally Averaged Surface Temperature at Ls='+string(ls_year(itime)), $
thick = 6, Xrange = [-90,90],yrange=[1000,0],/ylog,/fill, $
Levels=level, C_Color=col1
The following two versions do work -
contour, zt(*,*,itime), lat,zp(*,*,itime), color=0, background=255, $
Xtitle='Latitude', Ytitle='Pressure [Pa]', $
Title = 'Zonally Averaged Surface Temperature at Ls='+string(ls_year(itime)), $
thick = 6, Xrange = [-90,90],yrange=[1000,0],/fill, $
Levels=level, C_Color=col1
contour, zt(*,*,itime), lat,zp(*,*,itime), color=0, background=255, $
Xtitle='Latitude', Ytitle='Pressure [Pa]', $
Title = 'Zonally Averaged Surface Temperature at Ls='+string(ls_year(itime)), $
thick = 6, Xrange = [-90,90],/ylog,/fill, $
Levels=level, C_Color=col1
Any ideas what might be going wrong?
I am trying to plot a temperature contour vs log pressure and latitude. I can successfully produce a plot with a log y axis or with a linear reversed y axis (high pressure at the bottom). However when I try to use both keywords I get the above error. Below is a copy of the code in question:
contour, zt(*,*,itime), lat,zp(*,*,itime), color=0, background=255, $
Xtitle='Latitude', Ytitle='Pressure [Pa]', $
Title = 'Zonally Averaged Surface Temperature at Ls='+string(ls_year(itime)), $
thick = 6, Xrange = [-90,90],yrange=[1000,0],/ylog,/fill, $
Levels=level, C_Color=col1
The following two versions do work -
contour, zt(*,*,itime), lat,zp(*,*,itime), color=0, background=255, $
Xtitle='Latitude', Ytitle='Pressure [Pa]', $
Title = 'Zonally Averaged Surface Temperature at Ls='+string(ls_year(itime)), $
thick = 6, Xrange = [-90,90],yrange=[1000,0],/fill, $
Levels=level, C_Color=col1
contour, zt(*,*,itime), lat,zp(*,*,itime), color=0, background=255, $
Xtitle='Latitude', Ytitle='Pressure [Pa]', $
Title = 'Zonally Averaged Surface Temperature at Ls='+string(ls_year(itime)), $
thick = 6, Xrange = [-90,90],/ylog,/fill, $
Levels=level, C_Color=col1
Any ideas what might be going wrong?