Dashed linestyle in vectorized function graphics output, IDL 8.2.3 [message #84897] |
Mon, 17 June 2013 07:47  |
Matt[3]
Messages: 23 Registered: April 2011
|
Junior Member |
|
|
Hi,
pl=plot(findgen(10), linestyle='dash')
Looks fine on the screen. But then if I do:
pl.save, 'test.pdf'
I lose the dashes, and just get a solid line in the PDF file. Same for PS and EPS, but looks OK in PNG and JPG.
I get this on Linux and Mac, and with dots or dashes.
Is this a bug?
Cheers,
Matt
{ x86_64 darwin unix Mac OS X 8.2.3 May 2 2013 64 64}
{ x86_64 linux unix linux 8.2.3 May 2 2013 64 64}
|
|
|
Re: Dashed linestyle in vectorized function graphics output, IDL 8.2.3 [message #84898 is a reply to message #84897] |
Mon, 17 June 2013 07:52   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Matt writes:
> pl=plot(findgen(10), linestyle='dash')
>
> Looks fine on the screen. But then if I do:
>
> pl.save, 'test.pdf'
>
> I lose the dashes, and just get a solid line in the PDF file. Same for PS and EPS, but looks OK in PNG and JPG.
>
> I get this on Linux and Mac, and with dots or dashes.
>
> Is this a bug?
Certainly looks like it to me on my Windows machine running IDL 8.2.3.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
Re: Dashed linestyle in vectorized function graphics output, IDL 8.2.3 [message #84899 is a reply to message #84897] |
Mon, 17 June 2013 07:56   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Matt writes:
> pl=plot(findgen(10), linestyle='dash')
>
> Looks fine on the screen. But then if I do:
>
> pl.save, 'test.pdf'
>
> I lose the dashes, and just get a solid line in the PDF file. Same for PS and EPS, but looks OK in PNG and JPG.
>
> I get this on Linux and Mac, and with dots or dashes.
>
> Is this a bug?
You probably already know this, but this command will give you the file
output you want:
IDL> cgplot, findgen(10), linestyle=2, output='idl.pdf'
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
|
Re: Dashed linestyle in vectorized function graphics output, IDL 8.2.3 [message #85306 is a reply to message #84897] |
Wed, 24 July 2013 04:16   |
joellama
Messages: 8 Registered: July 2013
|
Junior Member |
|
|
Just to let you know that this also happens for me too.
Very annoying!
On Monday, June 17, 2013 3:47:05 PM UTC+1, Matt wrote:
> Hi,
>
>
>
> pl=plot(findgen(10), linestyle='dash')
>
>
>
> Looks fine on the screen. But then if I do:
>
>
>
> pl.save, 'test.pdf'
>
>
>
> I lose the dashes, and just get a solid line in the PDF file. Same for PS and EPS, but looks OK in PNG and JPG.
>
>
>
> I get this on Linux and Mac, and with dots or dashes.
>
>
>
> Is this a bug?
>
>
>
> Cheers,
>
>
>
> Matt
>
>
>
> { x86_64 darwin unix Mac OS X 8.2.3 May 2 2013 64 64}
>
> { x86_64 linux unix linux 8.2.3 May 2 2013 64 64}
|
|
|
|