Hi Kristina,
When you create any paneled plot, you save the maps/plots for each panel into elements of an array of type "graphic" (as illustrated in http://www.ncl.ucar.edu/Applications/Scripts/panel_1.ncl). Likewise, you can redraw your shapefile for each panel, writing it to the corresponding "plot(i)" element.
I've taken shapefiles_1.ncl and hurriedly modified it to plot a 1x2 panel plot (the second one with the color palette reversed arbitrarily). Note I had to make the variable "plot" an array:
plot = new(2,graphic)
and I needed to allocate a second array to hold the polygons created by gsn_add_polygon() for the second panel (lines2).
Hope that helps…
Rick
On Feb 2, 2012, at 8:22 AM, Kristina Fröhlich wrote:
>
> Hi all,
>
> has anbody experience with plotting results using a shape file in panel mode? I used the the script shapefiles_1.ncl as an example for me and now want to plot for instance 2 by 2 figures with ongoing time.
> Since the plotting is different for the shapefiles it looks not too obvoius for me how to arrange them.
>
> I found a hint in the mailing list that the problem was solved (something with coasts) but could not find the code example for it.
>
> Would be grateful for a hint.
>
> Best, Kristina
>
>
>
>
>
> _______________________________________________
> 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 Feb 2 10:56:38 2012
This archive was generated by hypermail 2.1.8 : Mon Feb 06 2012 - 14:24:56 MST