[gradsusr] City plotter - Dan Leins

hersala hersala at gmail.com
Tue Mar 13 07:37:44 EDT 2012


Hi Dick:

I think that this recipe might help you.
http://cookbooks.opengrads.org/index.php?title=Recipe-026:_Using_World_Coordinates_to_Annotate_your_Plots
Best regards,

Hernán


On 13 March 2012 04:51, Galebonwe Ramaphane <GRamaphane at gov.bw> wrote:

>  Dick,****
>
> ** **
>
> If you have several cities to plot, you could use the attached scipt. You
> also need a text file containing the world coordinates and corresponding
> names of the cities.****
>
> ** **
>
>  ****
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Stephen McMillan
> *Sent:* Monday, March 12, 2012 11:36 PM
> *To:* dick at wismeijer.com; GrADS Users Forum
> *Subject:* Re: [gradsusr] City plotter - Dan Leins****
>
> ** **
>
> Dick,****
>
> ** **
>
> I believe the error is due to no values in your world-coordinate
> variables.  I get the same error you do, unless I initialize lon.start and
> lat.start with real numbers.  For example, try running it again after
> adding this line before the query line (for example):****
>
> lon.start=12.5;lat.start=45.2****
>
> ** **
>
> Good luck****
>
> Stephen Mc****
>
> On Mon, Mar 12, 2012 at 4:42 PM, D. Wismeijer <dick at wismeijer.com> wrote:*
> ***
>
> Hi Grads users****
>
>  ****
>
> The following code delivers the error message described below. Any help to
> identify the coding error would be appreciated.****
>
> Code:****
>
> 'q w2xy 'lon.start' 'lat.start****
>
> xx.start=subwrd(result,3)****
>
> yy.start=subwrd(result,6)****
>
>  ****
>
> *Mark each point with a period****
>
> *say 'This means x is 'xx.start' and y is 'yy.start****
>
> 'set string 1 c 10 0'****
>
> 'set strsiz 0.3'****
>
> 'draw string  'xx.start' 'yy.start+0.1' .'****
>
>  ****
>
> Results in:****
>
> Querry Error: Syntax is QUERRY W2XY LonLat****
>
> Non-numeric args to numeric operation****
>
>  ****
>
> Any help would be appreciated****
>
> Rgds****
>
> Dick****
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr****
>
> ** **
>
> *******************************************************
>
> The information contained in this e-mail message ****
>
> is intended only for the use of the recipient(s) ****
>
> named above and may contain information that is ****
>
> privileged, confidential, and/or proprietary. ****
>
> If you are not the intended recipient, you may not****
>
> review, copy or distribute this message. If you have****
>
> received this communication in error, please notify ****
>
> the sender immediately by e-mail, and delete the original message.****
>
> *******************************************************
>
> ** **
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120313/1783529c/attachment-0003.html 


More information about the gradsusr mailing list