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

Home » Public Forums » archive » JOIN POINTS IN A PLOT
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: JOIN POINTS IN A PLOT [message #92025 is a reply to message #92022] Thu, 01 October 2015 13:36 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 10/01/15 15:10, Joyrles Fernandes wrote:
> I HAVE:
>
> A=FINDGEN(10)*3
> B=FINDGEN(10)*10
> C=FINDGEN(10)
> PLOT, A(*), B(*)
> OPLOT, A(*),C(*)
> END
>
>
> I NEED TO JOIN POINTS, FOR EXAMPLE, B(1) WITH C(1), B(2) COM C(2) AND SO ON.
> I ALREADY TRIED TO USE THE FUNCTION PLOTS, BUT I DON'T GOT.
>
> urgency!
> PLEASE, HELP ME

I think maybe people (including me) really don't understand what you want.

I don't know what "need to join points" means. Just plot a line?

Anyhoo, when I do what you did I get:

IDL> PLOT, A(*), B(*)
PLOT, A(*), B(*)
^
% Syntax error.

Is this the problem you are having? If so, try

IDL> PLOT, A, B
IDL> OPLOT, A, C

or, for FG,

IDL> p = PLOT(A,B)
IDL> p2 = PLOT(A,C,/overplot)


cheers,

paulv

p.s. The FG help pages:
http://www.exelisvis.com/docs/PLOT.html

p.p.s. The DG help pages:
http://www.exelisvis.com/docs/PLOT_Procedure.html
http://www.exelisvis.com/docs/OPLOT_Procedure.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help
Next Topic: Do you want to make a scatter plot of the square should I do if there?

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

Current Time: Wed Oct 08 18:56:35 PDT 2025

Total time taken to generate the page: 0.00409 seconds