Hi, i try to export a very simple plot but i can't be able to do this.
When i use set_ps, 'ps'
the file.ps is a empty file without any image.
I post my code:
file = "KeplerStarData.dat"
rows =File_Lines(file) ; per le righe
openr,lun,file,/Get_lun ; per le colonne
cols = n_elements(StrSplit(line, /RegEx, /extract))
data1 = dblarr(cols,rows)
x = data1(0,)
met = data1(3,)
h = histogram(met, binsize=0.1)
ch = total(Hnorm, /cumulative, /preserve_type)
plot, ch, psym=10, $ ; psym = point style (10 sono le linee continue)
TITLE='Cumulative Plot For Metallicity of Kepler Stars', XTITLE='[Fe/H]', $
YRANGE = [MIN(Hnorm), MAX(Hnorm)+1.], $
thick = 3, color=200
There are some ridiculous problems like that with the black and white PS output of GDL. You can use the color version (device,/color) that works. The B&W problem is solved in the last cvs version.
Log in to post a comment.