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

Home » Public Forums » archive » 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: plot [message #80938 is a reply to message #7831] Sat, 21 July 2012 12:59 Go to previous messageGo to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Saturday, July 21, 2012 11:10:23 AM UTC-7, David Fanning wrote:
> dave poreh writes:
>
> > I did something like this, but still not working!!!
> >
> > pro read_several_png
> > cd,'D:\p\'
> > pathName="D:\p\"
> > List = findfile(pathName+"*.png")
> > nosFiles=N_ELEMENTS(List)
> > data = ptrarr(nosFiles)
> > outfile = STRARR(nosFiles)
> >
> > for i = 0, nosFiles - 1 do begin
> > x=read_png(list[i],rpal,gpal,bpal)
> > rootname = File_Basename(list[i], '.png')
> > data[i] = ptr_new(x)
> > endfor
> >
> > ps_start, pagetype='a4'
> > !p.multi=[0,3,9]
> > for j=0,26 do cgimage, data[j]
> > !p.multi=0
> > ps_end
> > end
>
> I would try dereferencing your pointer. :-)
>
> *data[j]
>
> Also, you may want more or less space between images.
> The MultiMargin keyword to cgImage can be used to
> adjust this to suit you.
>
> 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.")

Thanks David, works well:-)
Cheers,
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot
Next Topic: call_external

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

Current Time: Thu Oct 09 23:05:03 PDT 2025

Total time taken to generate the page: 2.48183 seconds