bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quad-PLOT revisited


From: Dr . Jürgen Sauermann
Subject: Re: Quad-PLOT revisited
Date: Mon, 31 Aug 2020 18:48:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hi Christian,

thanks. Should be fixed in SVN 1342.

Best Regards,
Jürgen


On 8/17/20 6:56 AM, Christian Robert wrote:
Looks like Jurgen is on vacation or on a long weekend...

I changed slightly the source of Plot_gtk.cc to fix the problem. Only 3 lines modified.

$ diff Plot_gtk.cc /share/Plot_gtk.cc
176c176
<         const double dlta = 2.0 * size;
---
>         const double dlta = 1.0 * size;
185,186c185,186
<         const double dlta = 1.414213562 * size;
<         cairo_rectangle(cr, P0.x - dlta,  P0.y + dlta, 2*dlta, 2*dlta);
---
>         const double dlta = 0.7071067812 * size;
>         cairo_rectangle(cr, P0.x - dlta,  P0.y - dlta, 2*dlta, 2*dlta);


seems to solve the problem and scale well with point_size.

Attached "Before" and "After" sample Graph, and also Plot.apl test workspace

Xtian.

      )LOAD Plot.apl

      Legend Plot Beautiful


On 2020-08-15 04:28, Christian Robert wrote:
I understand my previous report was very unclear. Trying to describe a visual thing in english words while you're speaking french is not obvious,
so I included a snapshot of the plotted window and I will describe the really small problems I see.

  1) the square and the diamond are way too large, they should display the same size as the up triangle and the down triangle, no more.

  2) it is obvious that the square is displayed UNDER the line in contrary of all other symbols who are right on the line.


Xtian.

(Une image vaux mille mots)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]