Re: Plot with multiple y axis

From: Maria (Masha) Tsukernik <masha_at_nyahnyahspammersnyahnyah>
Date: Thu, 9 Apr 2009 13:21:09 -0600

Michel:
You can use
gsn_add_polyline
http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_add_polyline.shtml
You can set any x y coordinates and a separate resource for color/dash
patterns etc.
There's also a possibility to add a polygon if you want to shade an
area on your plot.

Cheers,
Masha

On Thu, Apr 9, 2009 at 7:12 AM, <Michel.Mesquita_at_bjerknes.uib.no> wrote:
> Hi,
>
> I have made a plot using the function gsn_csm_xy3 for 3 different
> variables. Now, I need to add an extra variable (with a fourth axis: 2
> on the left and 2 on the right). How can I do that?
>
> You can check my script here:
> http://people.iarc.uaf.edu/~michel/ncl/xy3plot/plotpressdepth2.ncl
>
> If you plot it, you will be able to see the figure with the three
> variables. My fourth variable data is there in the file. It is called
> 'velocity', and I need to plot it from time(1,41).
>
> Another question that I have is: how can I add a line under (and
> outside) the plot along the x-axis? I wanted this line to mark when
> some specific events happened: for example, one line from a certain
> 'time' to another, and then another line for another period of time.
>
> Thank you so much!
>
> Kindest regards,
>
> Michel
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 09 2009 - 13:21:09 MDT

This archive was generated by hypermail 2.2.0 : Sun Apr 12 2009 - 14:28:35 MDT