comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: thick = 2 and postscript output
items: Edit IDL-made postscript file. Was: thick = 2 and postscript output

Re: thick = 2 and postscript output
type: item
description: 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
creator: davidf
date: 2001-05-31T16:07:32-00:00

Re: thick = 2 and postscript output
type: item
description: 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
creator: Christopher W. O'Dell
date: 2001-05-31T17:15:25-00:00

Re: thick = 2 and postscript output
type: item
description: 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 ------------------------------------------------------------ --------------
creator: Craig Markwardt
date: 2001-05-31T18:21:25-00:00

Re: thick = 2 and postscript output
type: item
description: 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
creator: Wim Bouwman
date: 2001-06-01T08:15:58-00:00

Re: thick = 2 and postscript output
type: item
description: "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 [[ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
creator: Martin Schultz
date: 2001-06-01T11:27:19-00:00

Re: thick = 2 and postscript output
type: item
description: 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
creator: davidf
date: 2001-06-01T12:12:06-00:00

Re: thick = 2 and postscript output
type: item
description: "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 ------------------------------------------------------------ --------------
creator: Craig Markwardt
date: 2001-06-01T12:43:53-00:00

Re: thick = 2 and postscript output
type: item
description: 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 [[ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
creator: Martin Schultz
date: 2001-06-01T18:31:17-00:00

Edit IDL-made postscript file. Was: thick = 2 and postscript output
type: item
description: 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? ...
creator: Kristian Kjaer
date: 2001-06-05T11:17:55-00:00