Re: [PATCH v2.11.1] High-resolution PS plotting

Ilya Zakharevich <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <[email protected]>
On Sun, Nov 10, 2019 at 03:08:19PM +0100, Bill Allombert wrote:
> > > Note that you can create SVG now with plotexport.

> Precisely. I was wondering if the problem also existed with SVG generation.

It looks like the low-precision problem is avoided with SVG, due to (≈l.2088)

    gen_draw(&pl, w, x, y, SVG_SCALE, SVG_SCALE);

(Only 1/SVG_SCALE = 2⁻¹⁰ is later rounded by "%.2f"; I see no reason
for such a strange code…)

The ability to see the fine structure may be much harder to implement
in SVG: one may need to
  • call gen_draw() several times;
  • implement some action-on-the-distance, so that the later calls
    only redraw the lines() commands, with different colors, and with
    decreasing widths… 

> > ℷ) I think tools for PS→PDF are much more common than those for SVG→PS.
> 
> True. However SVG->PDF is easy.

I know nothing about this…  (I use inkscape, but only occasionally…)

Ilya
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.