Welcome to iraf.net Monday, May 06 2024 @ 11:56 PM GMT
Gordon |
05/03/2010 04:54PM (Read 1144 times)
|
|
|
Status: offline
Registered: 08/21/2008
Posts: 5
|
A journal referee has asked me to revise a mosaic plot produced using gkimosaic so that selected plots within it are in different colors. Can this be done? If it is actually or nearly impossible I'll be happy to say so to the referee.
|
|
|
|
fitz |
05/03/2010 04:54PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
It might be possible depending on how specific you need to be. GKI metacode preserves the color information meaning things in an XGterm window like the axis label colors, frame background, etc will be rendered again in the graphics kernel. Note that using a hardcopy device like 'eps' uses the SGI driver which removes any color information, you'll need to use the PostScript kernel in STSDAS (e.g. the 'psidump' device) to create a PS file with the color.The 'glbcolor' environment variable defines which colors are used in the plot, but only for things like the frame border and axis labels. If you need to e.g. overlay graphs in different colors then this ability depends on the task used to create the plot. All of these colors use the 'index' number, (e.g. color 3) what color this actually is depends on how you set the corresponding color resource in the XGterm window.You might also look at the IGI task in TABLES as a different way to produce the plots that allows more color control. This is similar to SuperMongo but means you couldn't just grab the plot produced by some other task.So, does this qualify as 'nearly impossible'? 8-)
|
|
|
|
| |
|
Content generated in: 0.07 seconds |
|