Home |
Search |
Today's Posts |
|
Electronic Schematics (alt.binaries.schematics.electronic) A place to show and share your electronics schematic drawings. |
Reply |
|
LinkBack | Thread Tools | Display Modes |
#1
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
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 | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine Sometimes I even put it in the food |
#2
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
On Fri, 27 Mar 2009 11:44:48 -0800, "Paul Hovnanian P.E."
wrote: Jim Thompson wrote: 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? 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 http://www.imagemagick.org/ (some more of that Commie freeware ;-)). Good idea, Paul! I do have several software-based 'printers' that can output GIF, etc. Maybe manipulate in GIF, then 'print to' PS or PDF and then merge. In this biz, it's 'all in the showmanship' ;-) The circuit design is (usually) easy, the presentation convincing the client that it really works is difficult. ...Jim Thompson -- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine Sometimes I even put it in the food |
#3
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
Jim Thompson wrote:
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? 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 http://www.imagemagick.org/ (some more of that Commie freeware ;-)). -- Paul Hovnanian ------------------------------------------------------------------ Nondeterminism means never having to say you are wrong. |
#4
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
Jim Thompson writes: I'd like to color each temperature run differently. If the traces are colored at all, look through the postscript file for "setrgbcolor". It's likely in a macro definition: /foo { ... setrgbcolor ... } def in which case you'd look for "foo" instead. Otherwise somewhere you'll see something like: 0.5 0.67 1.0 setrgbcolor that's what you change. You might have setcmykcolor instead, which takes four operands. If the graph lines are black, look for "setgray" instead. |
#5
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
Jim Thompson wrote: 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? Some years back I came across a postscript file that even the Mac boys at the office couldn't load or print. Eventually I found a PS to PDF program whose name eludes me now but is well known ( someone here will know it ) . I'd suggest converting to PDF and editing in that. Graham |
#6
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
Eeyore wrote:
Jim Thompson wrote: 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? Some years back I came across a postscript file that even the Mac boys at the office couldn't load or print. Eventually I found a PS to PDF program whose name eludes me now but is well known ( someone here will know it ) . I'd suggest converting to PDF and editing in that. Graham Well, there's a ps2pdf command in the ghostscript package (also a freeware product). But the Imagemagik utilities have numerous Postscript to whatever converters. The 'base' format is PNM (a family of formats, actually). These are optimized for easy modification by a set of command line utilities. I'm not sure if Jim needs a one time solution or something that's scriptable. The command line stuff might be a bit trickier than a good GUI editor, but if the process has to be repeated, these might be the way to go. -- Paul Hovnanian ------------------------------------------------------------------ APL is a write-only language. I can write programs in APL, but I can't read any of them. -- Roy Keir |
#7
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
On 2009-03-27, Jim Thompson wrote:
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? Use something else to plot the output (gnuplot? excell?) I suspect the graphs are vector images in which case you could a vector graphics editor: eg: inkscape, corel draw, |
#8
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
On Fri, 27 Mar 2009 11:44:48 -0800, "Paul Hovnanian P.E."
wrote: Jim Thompson wrote: 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? 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 http://www.imagemagick.org/ (some more of that Commie freeware ;-)). My client in Australia advises that Corel Draw can edit PDF files and change colors. Does anyone have a comparison between the full Corel X4 package and the "Home" edition... besides the 4:1 price difference ?:-) ...Jim Thompson -- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine Sometimes I even put it in the food |
#9
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
On Sat, 28 Mar 2009 07:48:06 -0700, Jim Thompson
wrote: On Fri, 27 Mar 2009 11:44:48 -0800, "Paul Hovnanian P.E." wrote: Jim Thompson wrote: 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? 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 http://www.imagemagick.org/ (some more of that Commie freeware ;-)). My client in Australia advises that Corel Draw can edit PDF files and change colors. Does anyone have a comparison between the full Corel X4 package and the "Home" edition... besides the 4:1 price difference ?:-) ...Jim Thompson 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 | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine Sometimes I even put it in the food |
#10
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad
|
|||
|
|||
Postscript Expert?
"Paul Hovnanian P.E." wrote: Eeyore wrote: Jim Thompson wrote: 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? Some years back I came across a postscript file that even the Mac boys at the office couldn't load or print. Eventually I found a PS to PDF program whose name eludes me now but is well known ( someone here will know it ) . I'd suggest converting to PDF and editing in that. Graham Well, there's a ps2pdf command in the ghostscript package (also a freeware product). That's the one I had in mind. But the Imagemagik utilities have numerous Postscript to whatever converters. The 'base' format is PNM (a family of formats, actually). These are optimized for easy modification by a set of command line utilities. I'm not sure if Jim needs a one time solution or something that's scriptable. The command line stuff might be a bit trickier than a good GUI editor, but if the process has to be repeated, these might be the way to go. -- Paul Hovnanian ------------------------------------------------------------------ APL is a write-only language. I can write programs in APL, but I can't read any of them. -- Roy Keir |
#11
Posted to alt.binaries.schematics.electronic,sci.electronics.cad,sci.electronics.design
|
|||
|
|||
Postscript Expert?
On Fri, 27 Mar 2009 17:13:19 UTC, Jim Thompson
wrote: 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 The various Postscript manuals are freely available although they may not provide a quick answer. IIRC there are 'red' 'blue' and 'green' books. One is the Postscript reference manual and one is a tutorial. Alternatively you could ask in: comp.lang.postscript -- Jim Backus running OS/2 Warp 3 & 4, Mac OS X and Win98SE bona fide replies to j dot backus the circle thingy jita dot demon dot co dot uk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Ryobi BGH827 8" bench grinder vibration - postscript | Metalworking | |||
Need an expert... | Metalworking | |||
electrical expert in NJ? (or legal expert) | Home Repair | |||
Who's a RADON expert? | Home Repair |