comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » (cG) windbarb problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: (cG) windbarb problem [message #88158 is a reply to message #88157] Tue, 25 March 2014 06:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

> I am using the Windbarb program and I am having the following problems:
>
> 1) The angle of the barb is not properly represented
> 2) The position of the barb is wrong
>
> I have reproduced both errors in the following example
>
> device, dec=0
>
> !p.background=255
> !p.color=0
>
> limit=[20.,-128.,53.,-65.]
>
> map_set, 0, 0, limit=limit, position=[0,0,1,1], /noborder, /isotropic, /mercator
>
> map_continents, /countries, /coasts
>
> windbarb, [-110], [35], [50.], [45.], length=0.2, color=[0,0,0]
>
> plots, [-110], [35], psym=1
>
> I was expecting the barb to be oriented 45 deg and it is not the case... Also, I was expecting the barb to start at the exact position -110, 35.
>
> Thank you in advance for your help,

Yes, there are probably all *kinds* of things wrong with that old
program. But, no time to work on it at the moment. Sorry.

It needs to be completely rewritten, I would think.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trouble plotting GSHHS shapefile
Next Topic: a GDL Workshop in June 2014

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:55:40 PDT 2025

Total time taken to generate the page: 0.56450 seconds