bug-apl
[Top][All Lists]
Advanced

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

Re: Doubt about plotting on MAC OS X Catalina


From: Christian Robert
Subject: Re: Doubt about plotting on MAC OS X Catalina
Date: Tue, 26 Nov 2019 23:46:22 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

And note that ⎕PLOT plot matrix, not vector as in:


      ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3
LENGTH ERROR
      ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3
      ^

      ⎕PLOT 1 7 ⍴ 0 1 ¯1 2 ¯2 3 ¯3
139625030256384  ⍝ <- X11 handle to possibly close later


I'm not sure if the behavior changed lately... me too I though I could plot a 
vector some time ago but I may be mistaken.


Xtian.


On 2019-11-26 11:27, Dr. Jürgen Sauermann wrote:
Hi Toni,

the *+* character after *SYNTAX ERROR* (or any other APL error) indicates that 
there
is more information available regarding that error. The additional information
can be displayed with command *)MORE*.

I suspect that in this particular case libraries needed for plotting 
(essentially libX11.so,
libxcb.so, and libX11-xcb.so) were missing on the platform where GNU APL was 
compiled
(i.e. your own machine if you compiled from source or the build machine of a 
package if
you installed a binary package).

For *⎕PLOT *to work, you may need to compile the interpreter from source with 
the required
X libraries installed beforehand.

Best Regards,
Jürgen Sauermann


On 11/26/19 2:27 PM, Antonio Juan wrote:
Thanks for this awesome software. I have installed gnu plot 1.8 from brew 
package. It works well, and good integration with emacs. So it is a good 
environment for learning APL.

The only think is that when I try to plot I always get the following error:

        ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3
SYNTAX ERROR+
       ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3
       ^

I do not see anywhere, if is needed to load a workspace, or the needed for some 
environment configuration during installation. So really I do not know how to 
proceed.

Thanks for your time

Toni





reply via email to

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