On 15/03/2026 14:10, Qian Yun wrote:
> On 3/15/26 8:40 PM, Kurt Pagani wrote:
>> On 15/03/2026 00:10, Waldek Hebisch wrote:
>>> On Sun, Mar 15, 2026 at 06:40:55AM +0800, Qian Yun wrote:
>>>> Just saying, it is unlikely that we develop high quality
>>>> plotting system in SPAD.
>>
>> IMO the current system is not bad and in most cases sufficient for a
>> CAS. One has to distinguish between the drawing logic and the frontend,
>> of course. It's for instance easy to extend view2d/3D to allow other
>> frontends (e.g. gle, gnuplot, asymptote etc.).
>> ex:
https://github.com/nilqed/spadlib/tree/master/drawfe
>>
>> What do you mean by "develop high quality plotting system in SPAD."?
>> This would essentially mean using Lisp or old terminal systems like
>> ReGIS or Sixel, which actually works in some terminals, especially xterm
>> and mlterm.
>>
>
> I would consider the following factors:
>
> 1. multi-platform support. Native Linux/Windows/macOS and
> Web interface.
Using a web interface (hunchentoot/hsbcl) no problem :)
>
> 2. interactive plotting. The plot can be manipulated by
> buttons or spad commands in interpreter in real time.
This already works, e.g. in QGLE and geomview via sockets/pipes.
>
> 3. high performance. I read that there are many tricks
> and pitfalls regarding plot lots of points, for example,
> sampling instead of plotting everything, dithering, etc.
> Also for 3D plots, GPU acceleration will be needed.
Well, honestly, I don't think that this is fricas' core business. Do you
have any need for this?
>
> What I had in mind for comparison was the plotting system of
> CERN ROOT and R. But I'm not an expert in this field.
I see. However, CERN root for example, uses a sophisticated C++
framework, especially developed for huge amount of data. Interfacing
wouldn't be a problem, however, who takes a sledgehammer to crack a nut?
As said, I can't see any need. When I want quality graphics for paper,
for instance, I use TikZ/PGF, PSTricks etc. possibly exported from
Geogebra or use root or some of the many other available tools. But I'm
open for suggestions/ideas ;)
>
> - Qian
>