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

Home » Public Forums » archive » Re: Map_set - reg
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Map_set - reg [message #79258] Mon, 20 February 2012 05:51 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
shambhu writes:

> yeah, same thing but instead of showing in range, i want to draw a
> arrow head line, joining all the points which are lying in the line
> from origin (0,0) to the last point towards each direction.

Well, adding a cgArrow command to that code should help. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Map_set - reg [message #79261 is a reply to message #79258] Mon, 20 February 2012 01:21 Go to previous messageGo to next message
shambhu is currently offline  shambhu
Messages: 41
Registered: December 2011
Member
yeah, same thing but instead of showing in range, i want to draw a
arrow head line, joining all the points which are lying in the line
from origin (0,0) to the last point towards each direction.
Re: Map_set - reg [message #79274 is a reply to message #79261] Fri, 17 February 2012 11:11 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
shambhu writes:

> As i mentioned in my earlier mail, i tried to plot using POLAR option.
> But its not coming in proper direction and its very difficult to
> analyse the value and direction. So i want to connect each end point
> with a straight line with origin. Can any one help me on this...?
>
> PLOT, data.field14,data.field15, SUBTITLE='Polar Plot', psym=7,
> XSTY=4, YSTY=4, /POLAR
> AXIS, 0, 0, XAX=0
> AXIS, 0, 0, yAX=0
>
> and the data which am plotting as goes follows:

Maybe you are trying to do something like this:

http://www.idlcoyote.com/tips/polar_plot.html

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Map_set - reg [message #79279 is a reply to message #79274] Fri, 17 February 2012 01:21 Go to previous messageGo to next message
shambhu is currently offline  shambhu
Messages: 41
Registered: December 2011
Member
Hi everyone,

As i mentioned in my earlier mail, i tried to plot using POLAR option.
But its not coming in proper direction and its very difficult to
analyse the value and direction. So i want to connect each end point
with a straight line with origin. Can any one help me on this...?

PLOT, data.field14,data.field15, SUBTITLE='Polar Plot', psym=7,
XSTY=4, YSTY=4, /POLAR
AXIS, 0, 0, XAX=0
AXIS, 0, 0, yAX=0

and the data which am plotting as goes follows:

- Hide quoted text -

> field14 field15
> 3.127 198
> 2.506 248.8
> 2.431 228.5
> 2.661 239.3
> 2.722 233.7
> 2.801 214.7
> 3.369 208.8
> 2.503 227.9
> 3.08 222
> 2.81 220
> 2.558 242.4
> 2.718 245.7
> 2.948 256.6
> 2.856 211.4
> 3.392 194.5
> 3.553 177.5
> 3.609 218.3
> 3.243 222.5
> 2.833 204.6
> 1.871 177.8
> 2.318 235
> 2.733 192.2
> 1.968 222.9
> 1.922 165.7
> 2.015 303.4
> 3.616 190.6
> 3.3 199
> 2.846 177.7
> 2.975 194.8
> 2.84 159.4
> 2.921 101.6
> 1.962 287
> 2.68 347.2
> 2.15 342
> 2.721 78.55
> 2.832 145.8
> 3.397 175
> 3.194 153.2
> 2.821 318.1
> 3.144 42.41
> 3.669 179.7
> 3.457 138.1
> 3.152 57.82
> 3.101 5.994
> 3.55 356.4
> 2.966 335.4
> 3.746 319.2
> 3.017 356.7
> 3.303 3.897
> 3.25 14.28
> 4.243 11.58
> 3.188 11.8
> 3.063 1.098
> 2.463 10.04
> 2.643 346.6
> 3.812 38.26
> 2.944 357.1
> 4.054 11.27
> 4.158 2.803
> 3.348 28.2
> 2.683 355.6
> 3.72 354.2
> 4.334 5.541
> 4.004 24.66
> 3.496 7.18
> 3.884 11.81
> 5.227 359.1
> 4.468 357.2
> 3.542 350.8
> 3.64 350.1
> 5.145 360
> 4.725 358.4
> 5.028 2.572
> 4.916 2.356
> 5.36 7.501
> 4.602 359.2
> 5.465 39.1
> 6.508 90.8
> 2.733 26.06
> 3.335 36.06
> 3.938 2.498
> 3.667 23.79
> 2.854 48.41
> 2.391 69.37
> 1.958 156.3
> 2.252 122.9
> 3.585 34.55
> 3.69 6.733
> 4.689 3.45
> 3.551 347.6
> 4.016 13.34
> 4.02 18.62
> 4.23 20.08
> 4.419 14.48
> 4.803 10.58
> 4.286 4.931
> 3.703 353.2
> 4.703 9.58
> 4.977 3.588
> 4.962 354.5
> 5.272 0.859
> 4.971 359.8
> 4.739 2.919
> 4.715 359.6
Re: Map_set - reg [message #79364 is a reply to message #79258] Thu, 23 February 2012 22:01 Go to previous message
shambhu is currently offline  shambhu
Messages: 41
Registered: December 2011
Member
Hi, am facing some error "% Attempt to call undefined procedure/
function: 'CGSNAPSHOT'" and trying to solve this...
Mean time i wan to call compiled files in a main file. Whenever i
start my IDL machine and if i run my program, without compiling
circle, the code percent25=circle(0,0,.25*dmax) shows error "% Attempt
to call undefined procedure/function: 'circle'". So i called that in
my main file using ".compile circleidle" and it works. But i feel its
not the proper way to use. Is there any other way to do this...?


regards
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
Next Topic: Map_set - reg

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

Current Time: Wed Oct 08 11:44:01 PDT 2025

Total time taken to generate the page: 0.00627 seconds