Hey,
example:
p = plot(findgen(9), xtitle='x test', ytitle='y test', title='Test Plot')
p.save, 'testsave.eps', Resolution=600
The saved graph is not centered, but shifted to the right edge of the paper. I had the problem with some plots, that the far end of the x axis gets cut off. How can I change my code to center the plot? Another problem regarding the centering,is that the plot is centered around the graph region and not around the plot region. So if I use epstopdf for latex it will create an cropped pdf file with the plot, but the center will not be the center of the plot itself but from the total plot with y axis title etc. . Thats why the plot will be shifted to the right if I include it into Latex. Any fix for that?
Cheers,
Kevin
|