Re: marker size

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 9 Mar 2006 22:28:45 -0700 (MST)

Dear Debasish,

Dennis mentioned one way you could do this using the gsn*text
routines. There's also a way to change your marker sizes in an XY
plot using the xyMarkerSizes resource. I've attached a short NCL
script that shows how to use this resource in conjunction with
xyMarkers and xyMarkerColors for changing the markers themselves and
their colors.

--Mary

On Thu, 9 Mar 2006, Debasish Pai Mazumder wrote:

> Dear Sir,
>
> Thank you for your kind help. Now I would like to know how I will give
> different size of markers on XY scatter plot (i.e. for some value the marker
> is bigger and for some value it is smaller size)
> Kindly help me in this regard.
>
> Thanks
> Debasish
>
> -----Original Message-----
> From: Saji Njarackalazhikam Hameed [mailto:saji_at_hawaii.edu]
> Sent: Wednesday, March 08, 2006 4:25 PM
> To: Debasish PaiMazumder
> Cc: ncl-talk_at_ucar.edu
> Subject: Re: (no subject)
>
> Debasish,
>
> First of all, it is helpful to add a meaningful Subject: line to your
> messages.
>
> You may want to try using gsn_add_text
> see:
> http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_add_text.shtml
>
> ;--------------------------------------------
> An example code may be like the following:
> tres=True
> tres@txFont=22
> tres@txFontHeightF = 0.025 ; make smaller
> tres@txFontThicknessF = 2.0
>
> plot = gsn_csm_xy (wks,dep_jav,dmi_std,res) ; create plot
> do i=0,ntim-1
> txt1=gsn_add_text(wks,plot,mind(i),dep_jav(i),dmi_std(i),tres)
> end do
> ;..............................................
>
>
> saji
> ..........
> * Debasish PaiMazumder <debasish_at_gi.alaska.edu> [2006-03-08 14:25:43 -0900]:
>
>> Dear Sir,
>
>> I have plotted a scatter plot using
>
>> http://www.ncl.ucar.edu/Applications/Scripts/xy_4.ncl
>
>
>
>> Now I want to give numbers (like 1, 2, 3, 4, 5 etc) at each marker on the
>> plot.
>
>> Could you please tell me how will I do it?
>
>
>
>> Thanks
>
>> Debasish
>
>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> --
> Saji N. Hameed,
> Assistant Researcher, Tel:808 9569534
> International Pacific Research Center, email:saji_at_hawaii.edu
> 2525 Correa Rd, Honolulu, HI 96822 http://iprc.soest.hawaii.edu/~saji
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Thu Mar 09 2006 - 22:28:45 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 09 2006 - 22:39:16 MST