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

Home » Public Forums » archive » Problem writing SCATTERPLOT() with more than 4096 points to PDF file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem writing SCATTERPLOT() with more than 4096 points to PDF file [message #91175] Thu, 11 June 2015 11:19 Go to previous message
wlandsman is currently offline  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}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: parse subdirectories
Next Topic: masking float/interger arrays in IDL

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

Current Time: Wed Oct 08 11:59:06 PDT 2025

Total time taken to generate the page: 0.00260 seconds