On 06.08.2012 00:31, Mario Rodriguez wrote:
> El 05/08/12 18:51, Robert Dodier escribi?:
>> Perhaps you can try points_joined = impulses in draw2d. ? points_joined
>> has some info about that. Impulses are just vertical lines -- I think
>> that's what you want.
>
> This is the most natural approach.
>
> Also, you can draw pairs of points, the extrems of the segments, with
> option 'points_joined' equal to 'true'. This gives more flexibility; for
> example, if you want non vertical segments, or if they don't need to
> reach the x-axis.
Thx. Like this ?
pp:[points([[1,0],[1,1]]), points([[1/2,0],[1/2,1]] )]$
draw2d(
title = "Topologist\\47s comb", /* Syntax for postscript enhanced
option. It does not work in screen , only in svg */
xrange = [0.0,1.2],
yrange = [0,1.2],
file_name = "comb2",
terminal = screen,
point_type = filled_circle,
point_size = 0.5,
points_joined = true,
color = "blue",
pp )$
>
> Also, you don't need to set option 'color' to 'blue', since this is the
> default value
OK.
--
Adam