Here is the code to set up the X device
Here is the plot setup code for the Z-buffer
[CODE]SET_PLOT, 'Z' ;Set plotting device to X-Windows
DEVICE, SET_PIXEL_DEPTH = 24 ;Use 24-bit color
DEVICE, SET_RESOLUTION = [nx + i1 + i2, ny + j1 + j2] ;Define plot dimensions in pixels
DEVICE, SET_CHARACTER_SIZE = [6, 9] ;Set character size to match X-Windows default
DEVICE, SET_FONT = ['Helvetica Bold'] ;Set TrueType font
!P.BACKGROUND = COLOR_24_KPB('white') ;Background color
!P.COLOR = COLOR_24_KPB('black') ;Foreground color
!P.FONT = 1 ;Use TrueType fonts
!P.CHARSIZE = 2.0 ;Default font size
I can post pictures comparing the two devices (which are each worth a thousand words), if someone can explain how to use the Image embed button in the forum software.
Also, I don't suppose the forum has a preview post option?
Cheers, Ken