Re: Problem writing SCATTERPLOT() with more than 4096 points to PDF file [message #94423 is a reply to message #94354] |
Thu, 18 May 2017 09:54  |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
On Tuesday, April 18, 2017 at 3:13:27 AM UTC-6, alx wrote:
> Le lundi 17 avril 2017 20:26:40 UTC+2, Chris Torrence a écrit :
>> On Friday, April 14, 2017 at 1:26:04 PM UTC-6, alx wrote:
>>> Le lundi 10 avril 2017 20:18:40 UTC+2, Chris Torrence a écrit :
>>>
>>> In the meantime (IDL 8.7 ?), a simple solution would be to insert your plot, first saved in PNG format for instance, into some program like WORD or POWERPOINT, and then save it to a PDF file. Not a big task.
>>> alx.
>>
>> Or, you can still save it to a PDF, just use the /BUFFER keyword. It will produce the same end result, without having to go thru a PNG.
>>
>> x = randomn(seed,4096)
>> y = randomn(seed,4096)
>> p = scatterplot(x,y,/sym_filled,sym_color='blue',symbol='circle' )
>> p.save, 'out.pdf', /BITMAP
>>
>> Cheers,
>> Chris
>
> Is the resolution actually preserved in using /BITMAP ?
> Cheers,
> alx.
The default resolution is 300 dots-per-inch. You can change that with the RESOLUTION keyword if you need higher or lower.
-Chris
|
|
|