ps file with text [message #50429] |
Mon, 02 October 2006 10:52  |
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   |
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  |
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
|
|
|