Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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
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
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 ------------------------------------------------------------ --------------
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
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
"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 ------------------------------------------------------------ --------------
Edit IDL-made postscript file. Was: thick = 2 and postscript output
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? ...