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

Home » Public Forums » archive » Re: How to put multi figure in one EPS file
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: How to put multi figure in one EPS file [message #56491 is a reply to message #56490] Thu, 25 October 2007 17:51 Go to previous messageGo to previous message
Nianming Zuo is currently offline  Nianming Zuo
Messages: 13
Registered: August 2007
Junior Member
David, thank you! It helps me out soon!

But I still wondered why there is not an such usually used
function inherent in IDL, instead it depends on the 3rd-party tools.

Additionally, David, I have another personal question. Why would you
like to develop open source software on a commercial platform (such as
IDL) ? Actually, there are many free softwares you can rely on,
such as Python, Scilab, and et.al..
[Indeed, I don't have and prejudice against IDL.]

Best,

Nico

On 10 25 , 8 46 , David Fanning <n...@dfanning.com> wrote:
> Nianming Zuo writes:
>> set_plot, 'ps'
>> device,filename='proj.eps',/encaps,/inches,xsize=4,ysize=2,b its=16
>> tvscl, p1, 0
>> tvscl, p2, 1
>> device, /close_file
>> set_plot, 'win'
>
>> On Windows OS, the code above can not put image p1, p2 (both are
>> 256*256)
>> in the same proj.eps file, and there is only one.
>> But in " set_plot, 'win' " , it is true, when set the window as,
>> window, /free, xsize=512, ysize=256
>
> Well, sure enough. This is the first time I've been
> surprised by IDL in a long time. :-)
>
> Here is how I would put two images side by side
> in a window and in PostScript:
>
> set_plot, 'ps'
> device,filename='proj.eps',/encaps,/inches,xsize=4,ysize=2,b its=8
> !P.MULTI=[0,2,1]
> TVSCALE, p1, Margin=0
> TVSCALE, p2, Margin=0
> device, /close_file
> !P.MULTI=0
> set_plot, 'win'
>
> You can find TVSCALE here:
>
> http://www.dfanning.com/programs/tvscale.pro
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Using SYMCAT with LEGEND
Next Topic: kriging!!!!!!!!!

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

Current Time: Fri Oct 10 06:51:57 PDT 2025

Total time taken to generate the page: 0.48305 seconds