Hi Mary,
Thanks for your help. I try to run the following example and it seems
that it is working. I don't understand way it is not working in my case.
The .hluresfile file has default definition and there is no any special
definition in it.
!=========================================
! This is a sample .hluresfile. It should
! go in your home directory.
!
! Comments for ".res" files are preceded by a "!".
! Remember quotations are not used in .res files.
! White background/black foreground
*wkForegroundColor : (/0.,0.,0./)
*wkBackgroundColor : (/1.,1.,1./)
! Have a favorite colormap that you use for everything? You can
! make it your default here (note the name is NOT in quotes).
!
! For all available color maps, see
! http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml
! *wkColorMap : rainbow+gray
! Font
*Font : helvetica
! Function Codes [Default is a colon]
*TextFuncCode : ~
! Make default X11 window larger (adjust as necessary)
*wkWidth : 800
*wkHeight : 800
! Increase the default (16mb) contour memory
! For example, if you have gridded data that
! is larger than 500 x 500, you may need this.
*wsMaximumSize: 32556688
!==========================================
Regards,
--ufuk
On 1/30/12 3:15 PM, Mary Haley wrote:
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>
> begin
> y = sin(0.0628*ispan(0,100,1))
>
> wks = gsn_open_wks("x11","xy1a")
>
> res = True
> res@vpHeightF = 0.25
> res@vpWidthF = 0.55
> plot = gsn_csm_y(wks,y,res)
>
> res@vpHeightF = 0.1
> res@vpWidthF = 0.7
> plot = gsn_csm_y(wks,y,res)
>
> end
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jan 30 19:26:34 2012
This archive was generated by hypermail 2.1.8 : Thu Feb 02 2012 - 03:10:31 MST