[ncl-talk] Question about plotting multiple time series
Alan Brammer
abrammer at albany.edu
Thu Jun 18 08:57:01 MDT 2015
Step 1. Make sure your data are all on a common coordinate (time). If they
have different temporal resolution make sure they are all using the same
units.
cd_convert()
Step 2. For variables with comparable dimensions you can throw them all at
the plotting routine at once. e.g.
plot = gsn_csm_xy(wks, var1&time, (/var1, var2, var3, var4,var5/), res)
if your obs have a different resolution, then plot that separate and
use overlay(obsplot,
wrfplot)
Some of the examples on the xy page may help though I couldn't find (in
30s) one that really showed the whole process for you
Good luck.
On Thu, Jun 18, 2015 at 9:59 AM, Luis Cesareo Cana Cascallar <
luis.cana at ulpgc.es> wrote:
> Thanks. Indeed, I’m using xy_2.ncl to draw my figure, but just with two
> time series. What I want is to plot six time series together, all of them
> sharing the same X and Y axes.
> I understand I have to overlay them, but I don’t know which is the best
> method.
>
> Best,
>
> —Luis
>
>
> El 17/6/2015, a las 22:15, Adv <advita6 at gmail.com> escribió:
>
> Hi,
> Please do check these links.
> https://www.ncl.ucar.edu/Applications/Scripts/xy_2.ncl and
> https://www.ncl.ucar.edu/Applications/Scripts/xy_7.ncl
>
> Goodluck
>
>
> On Wed, Jun 17, 2015 at 1:40 PM, Luis Cesareo Cana Cascallar <
> luis.cana at ulpgc.es> wrote:
>
>> Dear all,
>>
>> I’m plotting time series from a WRF run (file.TS) against real
>> observations (excel file, csv). All is fine, but now, I’d like to compare
>> this simulation with other experiments to check which one is the best. How
>> can I add multiple time series to this first plot? There are six runs (six
>> TS files) and one file with real data. Could you suggest me one example?
>>
>> Best,
>>
>> --Luis
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
>
> _______________________________________________
> 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/20150618/30b1b6e6/attachment.html
More information about the ncl-talk
mailing list