comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Setting colors for Plotting to PRINTER
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Setting colors for Plotting to PRINTER [message #26263] Fri, 10 August 2001 18:26
Aaron Birenboim is currently offline  Aaron Birenboim
Messages: 24
Registered: October 2000
Junior Member
I'm having all sorts of trouble sending plots to
printers (and print file formats like WMF and PS).
I'm running from WIN32 platforms.

I usually have 24-bit color displays, and can
set plot colors quite readily on the desktop.
(i.e. PLOT,myData,COLOR=r+g*256L+b*256*256L)
Where r,g,b are red, green, blue from 0..255

The problem is that when I change the plot device...
SET_PLOT,'PRINTER"
'WMF'
'PS'

The color table (!D.NCOLORS) seems to go
to like 256 (as i recall), and I seem to be unable
to set color indices for plotting.

(I'm at home... we have no news at work... so this is from
memory).

Shouldn;t I be able to do something like:

SET_PLOT,'PRINTER'
TVLCT,255,0,0,2
PLOT,myData,COLOR=2

To print out a plot in red?
If so... I'll try again.
If not... what do I do to make color
plots to Printer, or print file formats?
Print files from the SET_PLOT command, like 'PS',
and 'META' (i think thats the keyword for
windoze meta file)
--
Aaron Birenboim | Black holes are where G-d divided
Albuquerque, NM | by zero.
aaron@boim.com |
boim.com/~aaron | -Steven Wright
[Message index]
 
Read Message
Previous Topic: column labels on table widgets
Next Topic: Color problems in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:49:36 PDT 2025

Total time taken to generate the page: 0.00448 seconds