[ncl-talk] Some issue with plot

Anahita Amiri Farahani aamir003 at ucr.edu
Tue Nov 13 12:38:37 MST 2018


Dear All,

I used *gsn_csm_xy2*
<https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_xy2.shtml> to
draw two lines each with their own separate Y-axis, but it gives me two
identecal plots. Here is the code and Attached is the plot:


;************************************************
wks   = gsn_open_wks ("eps","time_vs_alt")               ; send graphics to
PNG file

resL                  = True                     ; plot mods desired
resL at tiMainString     = "Altitide vs. Time"          ; add title

resR                        = True
resR at xyLineColors      = "blue"                   ; line color

plot  = gsn_csm_xy2 (wks,aa,ams_alt,qcls_co2,resL,resR) ; create plot
plot  = gsn_csm_xy2 (wks,aa,ams_alt,qcls_co2,resL,resR)
delete(wks)



Thanks,
Ana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181113/eb20a175/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time_vs_alt.eps
Type: application/postscript
Size: 2148200 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181113/eb20a175/attachment-0001.eps>


More information about the ncl-talk mailing list