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

Home » Public Forums » archive » Re: thick = 2 and postscript output
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
Re: thick = 2 and postscript output [message #25249] Fri, 01 June 2001 11:31 Go to next message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
davidf@dfanning.com (David Fanning) writes:

> Martin Schultz (martin.schultz@dkrz.de) writes:
>
>> BTW: my preferred factor is 2.5 ;-)
>
> When did you guys buy your PostScript printer, 1972!? :-)
>
No, 2000. But we are working with colors ;-)

Martin



--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
Re: thick = 2 and postscript output [message #25257 is a reply to message #25249] Fri, 01 June 2001 05:43 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Wim G. Bouwman" <w.g.bouwman@iri.tudelft.nl> writes:

> I have a related question.
> Does anybody know a trick to make all the lines in the postscript output
> file thicker? This includes the titles, axes and thicks.

If you have Unix, you might try my XFWINDOW program. It's essentially
a normal direct graphics window, but has the special property that it
records all graphics commands. Then you can simply press a button and
the output goes to the printer, or a file, or both. It has the
capability to automatically thicken lines when sending PS output.

I haven't updated the web page recently. If you have IDL 5.3 or 5.4,
you will need to recompile, per the instructions.

Craig

http://cow.physics.wisc.edu/~craigm/idl/idl.html (under Printing)

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: thick = 2 and postscript output [message #25258 is a reply to message #25257] Fri, 01 June 2001 05:12 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Martin Schultz (martin.schultz@dkrz.de) writes:

> BTW: my preferred factor is 2.5 ;-)

When did you guys buy your PostScript printer, 1972!? :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: thick = 2 and postscript output [message #25259 is a reply to message #25258] Fri, 01 June 2001 04:27 Go to previous messageGo to next message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
"Wim G. Bouwman" <w.g.bouwman@iri.tudelft.nl> writes:

> I have a related question.
> Does anybody know a trick to make all the lines in the postscript output
> file thicker? This includes the titles, axes and thicks.
>
>> plot, x, y, thick = 2
>>
>> fails to make a thick line in the postscript output file.
>> Anyone know why, and how to remedy this?
>

Let me try to summarize (I'm sure David can complete this list ;-):

plot, ..., thick=2 equivalent to !P.thick = 2
!X.thick = 2
!Y.thick = 2


and also
!P.charthick = 2


BTW: my preferred factor is 2.5 ;-)

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
Re: thick = 2 and postscript output [message #25261 is a reply to message #25259] Fri, 01 June 2001 01:15 Go to previous messageGo to next message
Wim Bouwman is currently offline  Wim Bouwman
Messages: 8
Registered: September 1997
Junior Member
I have a related question.
Does anybody know a trick to make all the lines in the postscript output
file thicker? This includes the titles, axes and thicks.

> plot, x, y, thick = 2
>
> fails to make a thick line in the postscript output file.
> Anyone know why, and how to remedy this?

Thanks,
Wim.

--

Dr. Wim G. Bouwman phone (++31) (0)15 2786775
Interfacultair Reactor Instituut fax (++31) (0)15 2788303
Technische universiteit Delft w.g.bouwman@iri.tudelft.nl
Mekelweg 15 http://www.iri.tudelft.nl/~bouwman
2629 JB Delft The Netherlands
Re: thick = 2 and postscript output [message #25268 is a reply to message #25261] Thu, 31 May 2001 11:21 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
>
> Oh, I think it is working. It is just that a line in a
> PostScript file is *very* thin. A two pixel line is *still*
> very thin, depending upon the resolution of your PostScript
> device. I find I have to bump thicknesses up by a factor
> of about 5 or so to see noticeable differences on my printer.

My preferred factor is three, but then again I am still in the
pre-bifocal stage. [ just joking. :-]

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: thick = 2 and postscript output [message #25269 is a reply to message #25268] Thu, 31 May 2001 10:15 Go to previous messageGo to next message
Christopher W. O'Dell is currently offline  Christopher W. O'Dell
Messages: 20
Registered: February 2001
Junior Member
Thanks David, you were totally right. I actually like this
better, it gives you much more control over the thickness,
whereas on the screen it tends to only have a few
thicknesses.

Chris
Re: thick = 2 and postscript output [message #25271 is a reply to message #25269] Thu, 31 May 2001 09:07 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Christopher W. O'Dell (odell@cmb.physics.wisc.edu) writes:

> I'm trying to make some postscript files of simple graphs; I
> have gotten color and fonts to work, but
> the command
>
> plot, x, y, thick = 2
>
> fails to make a thick line in the postscript output file.
> Anyone know why, and how to remedy this?

Oh, I think it is working. It is just that a line in a
PostScript file is *very* thin. A two pixel line is *still*
very thin, depending upon the resolution of your PostScript
device. I find I have to bump thicknesses up by a factor
of about 5 or so to see noticeable differences on my printer.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Edit IDL-made postscript file. Was: thick = 2 and postscript output [message #25364 is a reply to message #25261] Tue, 05 June 2001 04:17 Go to previous message
Kristian Kjaer is currently offline  Kristian Kjaer
Messages: 58
Registered: June 1998
Member
Hallo Wim,
Long time!

I agree with Martin that one should use (in IDL)
plot,...,xthick=3,ythick=4,thick=5,charthick=6 ; or whatever

But maybe you have an IDL-made ps-file that you don't care to re-create?
It actually works to edit the ps-file:
If none of the
,*thick=...
keywords were used in IDL, simply change from
%%EndPageSetup
10 setlinewidth L0 ...
to, e.g.,
%%EndPageSetup
50 setlinewidth L0 ...

If the IDL command was something like
plot,...,xthick=3,ythick=4,thick=5,charthick=6
then it takes a little more editing.

Disclaimer: I don't know anything about postscript. The above is based
on experimentation.

Perhaps there is a way to apply the same *scalefactor* to all of the
line
widths in a ps-file?

Best regards, Kristian
Kristian Kjær, Risø Natl. Laboratory, Denmark


"Wim G. Bouwman" wrote:
Subject: Re: thick = 2 and postscript output
Date: Fri, 01 Jun 2001 10:15:58 +0200
From: "Wim G. Bouwman" <w.g.bouwman@iri.tudelft.nl>
Organization: Delft University of Technology
Newsgroups: comp.lang.idl-pvwave
> I have a related question.
> Does anybody know a trick to make all the lines in the postscript output
> file thicker? ...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: passing strings as arguments?
Next Topic: Plotting data over USGS DOQ images.

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

Current Time: Wed Oct 08 15:37:05 PDT 2025

Total time taken to generate the page: 0.00682 seconds