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

Home » Public Forums » archive » Re: starting point of dashed lines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: starting point of dashed lines [message #65736 is a reply to message #65735] Sun, 22 March 2009 10:32 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Mar 22, 12:28 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> Any sort of dashed and/or dotted linestyle (i.e. anything other than
> linetsyle=0) has some natural "starting point" or phase. Is there a
> way to manually reset it?
>
> My specific problem is that I'm generating some plots in .png files
> that are going to be stuck together as an animation, including a
> dashed line that should be identical in each plot. However, it isn't -
> at least, not when plotted to the Z buffer! Here is some code that
> demonstrates this:
>
> set_plot, 'z'
> plot, [0,1], [-0.5,0.5]
> erase
> oplot, [0,1], [0,0], lines=2
> write_png, 'test1.png', tvrd()
> erase
> oplot, [0,1], [0,0], lines=2
> write_png, 'test2.png', tvrd()
>
> If you compare the two .png files, you'll see that the dashing is
> shifted slightly. However, if I do this with set_plot,'x' instead, it
> works fine!
>
> -Jeremy.

I should mention, tested in both:

{ ppc darwin unix Mac OS X 7.0.4 Sep 3 2008 32 64}

and

{ x86 linux unix linux 6.4 Apr 26 2007 32 64}

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading Multiple DICOM Files
Next Topic: read ver5 *.mat file?

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

Current Time: Fri Oct 10 05:14:23 PDT 2025

Total time taken to generate the page: 0.16379 seconds