[ncl-talk] Overlay two times small issues
Mary Haley
haley at ucar.edu
Wed Jun 21 09:12:46 MDT 2017
Geeta,
1. I don't know what you mean by the second labelbar being "down in every
plot". Do you mean you want to reverse the direction of the labelbar? If
so, see example lb_15.ncl at:
https://www.ncl.ucar.edu/Applications/labelbar.shtml#ex15
2. You can use multiple colors for MSLP. You need to set
resmslp at cnMonoLineColor to False, and then set cnLineColors to the colors
you want.
See example conwomap_1.ncl at:
https://www.ncl.ucar.edu/Applications/conwomap.shtml#ex1
3. The shifting is caused because NCL is trying to manage the location of
the contour information label and the vector label with respect to
everything else. Without being able to run your script, I'm not exactly
sure what's causing the shifting to be where it is, but you can always use
Orthogonal resources to adjust these boxes.
vcRefAnnoOrthogonalPosF
cnInfoLabelOrthogonalPosF
I would first try *not* setting:
res_vc at vcRefAnnoOrthogonalPosF = -1.0 ; will move the Ref vector to top
Right
to see what happens to the vector box, and then adjust it and the contour
box as necessary.
--Mary
On Wed, Jun 21, 2017 at 1:17 AM, Geeta Geeta <geetag54 at yahoo.com> wrote:
> Hi NCL users.
> I am using overlay two times one for adding mslp contours and then
> vectors. then I am making the panel Plot.
> 1. I have problem putting the second label bar which is seen down in
> every plot.
> 2. Can I use multiple colors (for MSLP) for each value.
> Now from the attached figure, MSLP values are not very clear.
> 3. Dont know if the overlay is done correctly because the box on the RHS
> has shifted down slightly. (when I had overlayed mab and vectors, the BOX
> was on the Right hand corner).
> after the second overlay it has shifted.
>
> thanks
> Geeta.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170621/239c0cef/attachment.html
More information about the ncl-talk
mailing list