Hi Dave,
the interface looked simple enough but my best attempt gave:
fatal:NhlGetIsoLines: invalid contourplot id
fatal:NhlGetIsolines: error retrieving isolines
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 251 in file plot_tropoh_climdiff.ncl
what I tried was:
plot0=gsn_csm_contour(wks,clim1_hist_ea,conres2)
isolines = get_isolines(plot0,(/2.0/))
where plot0 renders normally, and it contains the 2.0 contour level.
I'm using version 6.1.2
Thanks,
Mark.
________________________________________
From: David Brown [dbrown@ucar.edu]
Sent: Tuesday, 16 April 2013 4:01 AM
To: Collier, Mark (CMAR, Aspendale)
Cc: ncl-talk@ucar.edu
Subject: Re: obtain values of a single contour
Hi Mark,
I recently created a function that will do what you want. It is available in NCL 6.1.1 and later. Check out:
http://www.ncl.ucar.edu/Document/Functions/Built-in/get_isolines.shtml
-dave
On Apr 15, 2013, at 12:41 AM, <Mark.Collier@csiro.au> wrote:
> Hi,
> I plot a single unique contour of a 2d array using @cnLevels = val using the gsn_csm_contour function.
>
> is there a way of obtaining the x-y values of that line from the plot?
>
> Regards,
> Mark.
> _______________________________________________
> 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 Mon Apr 15 22:47:50 2013
This archive was generated by hypermail 2.1.8 : Tue Apr 23 2013 - 12:54:13 MDT