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

Home » Public Forums » archive » ps file with text
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
ps file with text [message #50429] Mon, 02 October 2006 10:52 Go to next message
adisn123 is currently offline  adisn123
Messages: 44
Registered: July 2006
Member
Hi,
Using "set_plot = ps" I created a ps file.
I'm trying to resize the ps image and add some text (such as Figure1.
~~~) in my word text of lab paper.
How do I take the ps file and add text into it?

Thanks.
Re: ps file [message #53105 is a reply to message #50429] Wed, 21 March 2007 05:38 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wxf@bao.ac.cn writes:

> I need produce a ps file which contains many pages(A4/page) by a IDL
> program.
> But when I plot a lot of my pictures on that ps file,I find the ps
> file has only one page and terribly large size.
>
> Who can tell me if IDL can set a ps file which the user can draw
> pictures on different position of different pages and all these pages
> belongs to the same ps file?

In general, any time you issue a graphics command that
would, on your display, erase the window first (e.g, Plot,
Contour, Surface, etc.) will, in PostScript, create a new
page of output. Any time you issue a graphics command
that would go into the same window (e.g. OPLOT, PLOTS,
XYOUTS, etc.) will stay on the same page.

Moreover, you can force a new page of PostScript output
by "erasing" the window with an ERASE command.

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.")
Re: ps file [message #53189 is a reply to message #53105] Wed, 21 March 2007 19:17 Go to previous message
wxf is currently offline  wxf
Messages: 6
Registered: March 2007
Junior Member
> In general, any time you issue a graphics command that
> would, on your display, erase the window first (e.g, Plot,
> Contour, Surface, etc.) will, in PostScript, create a new
> page of output. Any time you issue a graphics command
> that would go into the same window (e.g. OPLOT, PLOTS,
> XYOUTS, etc.) will stay on the same page.
>
> Moreover, you can force a new page of PostScript output
> by "erasing" the window with an ERASE command.
>
> David
============================================================ =
Sorry,my statement might be ambiguous so David did not understand.
Let me give an example to explain.
Everybody must have seen some large geographical map(such as a US
geographical map with scale 1:10000).I can use IDL and
"set_plot,'ps'"command to produce such a ps file.But it is too
large and nobady can watch it on monitor or print it by printer.
Now,I want to produce the same map with the same scale,but change
the map into to a book with A4 size per page.We can watch that book or
print that book whatever size the US map is.

My question is how can I make out that ps-book in an IDL procedure and
its set_plot command.

Thanks
wxf
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Big arrays, reducing data
Next Topic: Re: Manipulation using where

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

Current Time: Wed Oct 08 15:16:01 PDT 2025

Total time taken to generate the page: 0.01259 seconds