Re: Color PostScript (was: Re: IDL resources on my Web page) [message #6755] |
Fri, 16 August 1996 00:00 |
David.Steele
Messages: 8 Registered: April 1996
|
Junior Member |
|
|
In article <hartman.840100620@ruund9.fys.ruu.nl>, hartman@fys.ruu.nl says...
Jan>
Jan> [stuff about earlier problem deleted]
Jan>
Jan>Now for something different (I always seem to want things that are
Jan>not that easily feasible in IDL, I am not testing you people...).
Jan>I want 4 graphs next to eachother in this way:
Jan>
Jan> |------------------------| |-|
Jan> | | | | |
Jan> y| | | | |
Jan> | | | | |
Jan> a|-----------|------------| | |
Jan> x| | | | |
Jan> i| | | | |
Jan> s| | | | |
Jan> |-----------|------------| |-|
Jan> x axis
Jan>
Jan>i.e. with no white space/annotation between the graphics and if possible,
Jan>with a scale bar along the total right side of the graph as indicated.
Jan>Is there a (preferably easy) way to do this?
Jan>
Jan>Thanks (again),
Jan>
Jan>Jan Willem
I would use Fred Knight's MULTIPLOT.PRO for the array of plots, and Ray
Sterner's BAR.PRO for the scale bar. Both tools work well for me. If you
don't have acccess to them, you can e-mail Fred Knight at knight@ll.mit.edu,
and get all or part of Ray Sterner's library by anonymous FTP at
fermi.jhuapl.edu [128.244.147.18] in /pub/idl. As a last resort, e-mail me
and I'll post the versions I have.
Dave
--
------------------------------------------------------------ ------------
David P. Steele Ph: (306) 966-6447
ISAS, University of Saskatchewan Fax: (306) 966-6400
116 Science Place David.Steele@usask.ca
Saskatoon SK S7N 5E2 CANSAS::STEELE
|
|
|
Re: Color PostScript (was: Re: IDL resources on my Web page) [message #6767 is a reply to message #6755] |
Thu, 15 August 1996 00:00  |
hartman
Messages: 9 Registered: August 1994
|
Junior Member |
|
|
In <3211D708.41C6@ssec.wisc.edu> Liam Gumley <liamg@ssec.wisc.edu> writes:
> In your case, I think you will get the effect you are looking for if
> you do *not* reverse the color table. The plot will have white text
> on a black background in the IDL graphics window, but the Postscript
> file will have black text on a white background.
> Cheers,
> Liam.
Yes, you are right (as I also mailed to you directly). My problem was
that in the contour plot I was making, all values of zero would be
black, and that would take too much time/resources to be printed.
Solution of course then is to 'clip' this value.
Thanks to all who responded.
Now for something different (I always seem to want things that are
not that easily feasible in IDL, I am not testing you people...).
I want 4 graphs next to eachother in this way:
|------------------------| |-|
| | | | |
y| | | | |
| | | | |
a|-----------|------------| | |
x| | | | |
i| | | | |
s| | | | |
|-----------|------------| |-|
x axis
i.e. with no white space/annotation between the graphics and if possible,
with a scale bar along the total right side of the graph as indicated.
Is there a (preferably easy) way to do this?
Thanks (again),
Jan Willem
|
|
|
Re: Color PostScript (was: Re: IDL resources on my Web page) [message #6774 is a reply to message #6767] |
Wed, 14 August 1996 00:00  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
Jan Willem Hartman wrote:
> In <3208DF55.41C6@ssec.wisc.edu> Liam Gumley <liamg@ssec.wisc.edu> writes:
>> Please browse around and let me know if you find any of it useful.
> Well thanks, I found it useful. The esrg library wasn't installed on
> my system, so I didn't know the wonders of TVIM before.
Glad to hear it.
> But. I'm having trouble with printing color postscript files: on
> screen it looks perfect, but on my ps-file the borders of the graph
> are missing (ie presumably white).
The following is from the IDL Reference Guide, p 3-37.
"Note: Unlike monitors where white is the most visible color, PostScript
writes black on white paper. Setting the output color index to 0, the
default when PostScript output is selected, writes black. A color index
of 255 writes white which is invisible on white paper. Color tables are
not used with PostScript unless the color mode has been enabled using
the DEVICE procedure. See "Color Images" on page 3-41."
In your case, I think you will get the effect you are looking for if
you do *not* reverse the color table. The plot will have white text
on a black background in the IDL graphics window, but the Postscript
file will have black text on a white background.
Cheers,
Liam.
|
|
|