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

Home » Public Forums » archive » Multiple plots in one figure
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
Multiple plots in one figure [message #68313] Sun, 11 October 2009 20:48
Nicki is currently offline  Nicki
Messages: 14
Registered: September 2009
Junior Member
Hello there.

I just recently started to use IDL. I'm now having the following
problem... i need to get one figure with multiple plots in it. I
already know how to do this, but just in a really complicated way...

say, i have the following equation: y=mx+a

and for m=1 my a is 1

and for m=10 my a is 2
and let's get a third plot, let's say for m=5 and and for that case
the a is equal to 4
or something like that... and now i want to have one figure with the 3
plots in it...

so far i have done it like this:

m1=1
a1=1

m2=10
a2=2

blaaa and then y1=m1*x+a1 and so on and then plot, overplot etc..... I
know this is faar too complicated and there should be something far
simpler starting with

m=[1,5,10]
a=[1,4,2] or so...


i tried to read it up but i don't get it... something with 'if... do
begin... else...' isn't it?! :) You see i have no idea...

Can somebody help me out??
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLDE and java crashes
Next Topic: SHMMAP of a variable already existing in memory

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

Current Time: Wed Oct 08 11:34:49 PDT 2025

Total time taken to generate the page: 0.00546 seconds