plot2d - unexpected increase of point size???



Radovan,

> I tried this example from the help concerning ploting (xy  -given pairs 
> of data points) - Windows 2000, maxima 5.9.13, wxmaxima
>
>  plot2d([[discrete,xy], 2*%pi*sqrt(k/980)], [k,0,50], [style, 
> [points,3,5], [lines,,3]], [legend,"experiment","theory"], 
> [xlabel,"pendulum's length (cm)"], [ylabel,"period (s)"])$
>
> The line and points are presented, but points are circles (not squares 
> as in the picture presented below this code).
As far as I can see, this example works as expected in my linux. Maybe 
this is a local problem. I see squares and not circles.

>  Moreover, when minimizing 
> the plot window to taskbar and again maximizing it, the size of the 
> points are almost doubled. Very strange behaviour.
>   
I can reproduce this. Point dimensions are proportional to the window 
size, but this is not bad.

This is not the answer to your question, but another way to get a 
similar plot:

xy:[[10,.6], [20,.9], [30,1.1], [40,1.3], [50,1.4]]$

load(draw)$

draw2d(
  yrange = [0,1.6],
  color = blue,
  key  = "theory",
  explicit(2*%pi*sqrt(l/980),l,0,50),

  color = red,
  key   = "experiment",
  point_type = filled_square,
  point_size = 3,
  points(xy)  )$


hth.


PD: Your e-mail adress is not registered as list member, I suggest you 
proceed with your subscription in the following URL:

http://maxima.sourceforge.net/maximalist.html

Thanks.

-- 
Mario Rodriguez Riotorto
www.biomates.net