Loïc Grenié on Mon, 18 Jun 2018 08:25:21 +0200


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

Re: downloading GP plots from the online version


On 2018-06-15 20:47 at GMT+02:00 Bill Allombert wrote:
Dear PARI developers,

In the _javascript_ version of GP:
<https://pari.math.u-bordeaux.fr/gpexp.html>
I have made an experiment to wrap plots in an <img> tag so that the
image can be downloaded (by right-clicking on it).
It is a bit awkward to do because the SVG has to be converted to base64.

Please tell me if it works.
You can try:
ploth(x=1,100,[sqrt(2/(Pi*x)),besselj(0,x),-sqrt(2/(Pi*x))])

     It works for me as well (Debian+Firefox). The legend overlaps with the axis,
  but that's not a big problem.

          Loïc