Is there any process whereby I can change the color of the graphic elements of a Postscript file, without changing the color of the text (black)?
Object: PSpice can't show more than one Performance Analysis at a time (only one variable), so I resort to superimposing Postscript files of Performance Analyses (at different temperatures for example).
I'd like to color each temperature run differently.
Any way to do that?
Thanks!
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
It depends on how the graphical data and text have been encoded into the file.
I suspect that its all a big bitmap, where each pixel (set to other than the background color) is explicitly defined by a coordinate and RGB value. In this case, good luck separating the text from the graph. Open one up with a text editor and see if the text is stored as separate text strings. If the text is easily identifiable, it may be possible to hand edit the color attributes of the graphical elements and then set the text bits back to black.
If its all bits, your best bet might be to convert the Postscript files into a format easily manipulated, clip out the graph data from each, change its color and paste them all on top of one image with the axis, labels and other text intact. This would be particularly handy if you want to automate the process and the source graphs are all of the same size.
For such tools, take a look at
formatting link
(some more of that Commie freeware ;-)).
--
Paul Hovnanian mailto:Paul@Hovnanian.com
------------------------------------------------------------------
Crapola\\ :-( Just like me to overlook the obvious. In PSpice Probe, right-click a trace symbol, and change its color _before_ "printing" to Postscript and merging
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
My favorite vector graphics editor is "Inkscape". I just tried it on a PDF, and it works beautifully! You can load a PDF, arbitrarily edit the text and graphics, and save again as PDF. (It's kind of worrying how easy this is to do, since many people regard PDF as a format that is "uneditable" in practice).
I just used it to "colour in" a scanned pencil sketch pdf!
I use it on debian (linux) but there are windows releases too.
I keep a v4 of Adobe Acrobat around... it can do many editing tricks _easily_ that v7 can't :-( I think Adobe is a very close second to Microsoft for selling pure shitty software.
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.