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

Home » Public Forums » archive » Plotting Graphics-IDL beginner
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plotting Graphics-IDL beginner [message #93840] Wed, 02 November 2016 13:34 Go to previous message
smnadoum is currently offline  smnadoum
Messages: 24
Registered: June 2016
Junior Member
I am doing some exercises from a book and I have a question about two-panel.
I need to set a two panel page for graphics for two plots to be side by side. and then create a scatter plot by plotting the second band against the first band. and finally subset the second band and assign it to variable 'a' and subset the third bands and assign it to variable 'b' and then plot 'a' agains 'b'

this is what I've done:

!p.multi= [0,2]
plot, img(*,*,1), img(*,*0), psym=2

a= [*,*1];subset the second band
b= [*,*,2];subset the third band
plot, a,b

filename='ab.jpeg'
write_jpeg,'filename',tvrd()

filename='ab.bmp'
write_bmp,'filename',tvrd()

I saved the graphics as jpeg and bmp


Is it correct?
Thanks
[Message index]
 
Read Message
Read Message
Previous Topic: List Structure of .Sav
Next Topic: ts_smooth and nan

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

Current Time: Wed Oct 08 16:14:27 PDT 2025

Total time taken to generate the page: 0.00451 seconds