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

Home » Public Forums » archive » Re: Horizontal dotted lines using PLOTS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Horizontal dotted lines using PLOTS [message #20686] Wed, 19 July 2000 00:00
Declan Vogt is currently offline  Declan Vogt
Messages: 11
Registered: January 1998
Junior Member
I'm using IDL Version 5.1 on Windows NT 4, and see the same problem as
Oliver, when running his code. For what it's worth, I'm running 1024x768
in 8 bit colour, I don't know if that has a bearing on the problem.

Declan


Pavel Romashkin wrote:
>
> I have used the exact commands you provided, and I see perfect dashed
> lines on white background. No funny L-shaped dots.
> IDL Version 5.3 (MacOS PowerMac)
> Cheers,
> Pavel
>
> Oliver Smith wrote:
>>
>> Okay maybe I'm being too much of a perfectionist but this is really
>> annoying.
>>
>> I use dotted lines to box an area of interest, line width is two pixels. A
>> solid white line is first plotted then a dotted black line plotted on top of
>> the first. A vertical line drawn this way looks great, but a horizontal line
>> is not so good; the dots that make up the black line are not square, but 'L'
>> shaped.
>>
>> [ snip - snip ]
>>
>> IDL Version 5.3.1 (Win32 x86). (c) 2000, Research Systems, Inc.
>>
>> IDL> plot, findgen(100)
>> IDL> plots, [20,20], [10,80], linestyle = 0, color = 255, thick = 2, /data
>> IDL> plots, [20,20], [10,80], linestyle = 1, color = 0, thick = 2, /data
>> IDL> plots, [20,80], [10,10], linestyle = 0, color = 255, thick = 2, /data
>> IDL> plots, [20,80], [10,10], linestyle = 1, color = 0, thick = 2, /data
>>
>> The horizontal line ends up looking very poorly defined if it is drawn on
>> top of a relatively light coloured background.
>>
>> So can anyone reproduce this, and can anyone come up with a work-around
>> without changing the thickness of the lines?
>>
>> Thanks,
>>
>> Oliver Smith
Re: Horizontal dotted lines using PLOTS [message #20695 is a reply to message #20686] Tue, 18 July 2000 00:00 Go to previous message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
I have used the exact commands you provided, and I see perfect dashed
lines on white background. No funny L-shaped dots.
IDL Version 5.3 (MacOS PowerMac)
Cheers,
Pavel

Oliver Smith wrote:
>
> Okay maybe I'm being too much of a perfectionist but this is really
> annoying.
>
> I use dotted lines to box an area of interest, line width is two pixels. A
> solid white line is first plotted then a dotted black line plotted on top of
> the first. A vertical line drawn this way looks great, but a horizontal line
> is not so good; the dots that make up the black line are not square, but 'L'
> shaped.
>
> [ snip - snip ]
>
> IDL Version 5.3.1 (Win32 x86). (c) 2000, Research Systems, Inc.
>
> IDL> plot, findgen(100)
> IDL> plots, [20,20], [10,80], linestyle = 0, color = 255, thick = 2, /data
> IDL> plots, [20,20], [10,80], linestyle = 1, color = 0, thick = 2, /data
> IDL> plots, [20,80], [10,10], linestyle = 0, color = 255, thick = 2, /data
> IDL> plots, [20,80], [10,10], linestyle = 1, color = 0, thick = 2, /data
>
> The horizontal line ends up looking very poorly defined if it is drawn on
> top of a relatively light coloured background.
>
> So can anyone reproduce this, and can anyone come up with a work-around
> without changing the thickness of the lines?
>
> Thanks,
>
> Oliver Smith
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Test message, please ignore.
Next Topic: Re: Why are objects global?

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

Current Time: Wed Oct 08 17:35:38 PDT 2025

Total time taken to generate the page: 0.00630 seconds