Changing legend location and plot size

From: Wee-Beng Tay <zonexo_at_nyahnyahspammersnyahnyah>
Date: Fri Apr 23 2010 - 03:43:26 MDT

Hi,

I have attached 2 copies of my plots. I have used
gsn_csm_vector_scalar(wks,u,v,t,vcres) and
gsn_add_polygon(wks,plot,x_cir,y_cir,gres) to create the plot. I have 2
problems.

1. My color legend is now at the bottom. How can I move it to the right side
of the plot. I tried using :

vcres@pmLegendDisplayMode = "Always" ; turn on legend
vcres@pmLegendSide = "Right"

However it can't work.

2. I tried to change the aspect ratio of my plot since the circle looks like
an ellipse. I would like to change the delta x and y on the plot to be
equal. I tried using:

vcres@mpShapeMode = "FreeAspect"
vcres@vpWidthF = 1.
vcres@vpHeightF = 1.5

It worked but the legend below is now cramped together.

Hope you can help.

Thanks again.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

vector_color.png vector_color_ILE2D.png
Received on Fri Apr 23 03:43:35 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT