bug-apl
[Top][All Lists]
Advanced

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

Re: Fixed points not showing on plot. Fixed Plot_xcb.cc. Image results o


From: Dr . Jürgen Sauermann
Subject: Re: Fixed points not showing on plot. Fixed Plot_xcb.cc. Image results on my website, will do some tests.
Date: Tue, 29 Dec 2020 20:59:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi again,

forgot to mention how each of the plots was created:

      Q←"""
canvas_color:  #777
point_size-1: 3
point_style-1: 1
line_width-1: 1 pixel
point_color-1:#F84
line_color-1:#F84
"""

      Q ⎕PLOT 1○(⍳250)÷40

Best Regards,
Jürgen


On 12/29/20 8:56 PM, Dr. Jürgen Sauermann wrote:
Hi Mark,

I have investigated the "point-size" problem and found out the following:

On my 32-bit machine (where Plot_xcb.cc was mainly developed) the
problem does not show.

On my 64-bit system (where I hardly use Plot_xcb.cc) the problem
shows up. As far as I can see, all xcb_fill_xxx() functions have that
problem. The desired area, be it rectangles, polygons, or ellipses, is
not filled with the colour set by XCB_GC_FOREGROUND (as they
should IMHO), but is instead filled with the background color. Also,
the window caption seems to be broken in the 64bit version (it worked
better with the 32 bit version).

I am afraid that I can't do anything about this (I tried but failed to
find the source code for the xcb_fill_xxx() functions on the web).

The gtk-3 version shows none of these problems and is the currently
recommended version anyhow, so I would try to get that one working
on your Mac.

If anybody has a clue what all this is about then please let me
know and I'll try to fix it.

Best Regads,
Jürgen


On 12/24/20 10:11 PM, gemesys@idirect.com wrote:
Hi Jurgen;
I've got a fix for the dot-points not plotting.
I had to set point_style-1 or point_size-1 to zero to see plot line.
If points were plotted, the data line would be blanked out.

I fixed: Plot_xcb.cc
Looks ok, but I want to run tests.

I put  examples on my website:  http://www.gemesyscanada.com

First image shows fixed results.
Data points can be put on plot, and can also be made hollow.

The libxcb stuff is nice, since I have it installed from source now
on the Macbook, and it works with XQuartz (the X11 stuff for MacOSx).

This means Linux boxes and Macbook can run same, and current version
of GNU-APL.  This is good.
This GNU-APL is really a fine thing. It is fine work, such good code.
- Mark

PS; Happy Christmas!





reply via email to

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