[Top][All Lists]

[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: Mon, 17 Aug 2020 00:56:21 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.1.1

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 

$ diff Plot_gtk.cc /share/Plot_gtk.cc
<         const double dlta = 2.0 * size;
>         const double dlta = 1.0 * size;
<         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


      )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.


(Une image vaux mille mots)

Attachment: Before.png
Description: PNG image

Attachment: After.png
Description: PNG image

Attachment: Plot.apl
Description: Text document

reply via email to

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