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
(cG) windbarb problem [message #88157] Tue, 25 March 2014 06:09 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi all,

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,
nata
[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: Wed Oct 08 15:12:09 PDT 2025

Total time taken to generate the page: 0.00452 seconds