bug-apl
[Top][All Lists]
Advanced

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

Re: Quad-PLOT revisited


From: Christian Robert
Subject: Re: Quad-PLOT revisited
Date: Wed, 2 Sep 2020 00:34:18 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.1

Works fine, even better than my own mods to the source file.

thanks,
Xtian.


On 2020-08-31 12:48, Dr. Jürgen Sauermann wrote:
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]