Problem writing SCATTERPLOT() with more than 4096 points to PDF file [message #91175] |
Thu, 11 June 2015 11:19  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
I am having problems writing a SCATTERPLOT() to a PDF file.
The following plot displays correctly in a window.
x = randomn(seed,4096)
y = randomn(seed,4096)
p = scatterplot(x,y,/sym_filled,sym_color='blue',symbol='circle' )
But when I then try to save to a PDF file, I get the error message:
% SAVE: Error in PDF creation: INVALID_SHADING
I have no problems when saving the plot in other data formats.
There also is no problem if I plot less than 4096 points.
Finally, the problem still exists if I first open a window with /BUFFER and write directly to a PDF file.
Thanks, --Wayne
w = window(dimen=[800,1100],/buffer)
x = randomn(seed,4096)
y = randomn(seed,4096)
p = scatterplot(x,y,/current,/sym_filled,sym_color='blue',symbol ='circle')
w.save,'test.pdf'
IDL> print,!version
{ x86_64 darwin unix Mac OS X 8.4 Sep 27 2014 64 64}
|
|
|