Bill Allombert on Mon, 18 Jun 2018 16:40:39 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: downloading GP plots from the online version |
On Mon, Jun 18, 2018 at 08:25:16AM +0200, Loïc Grenié wrote: > 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. Thanks to everyone who tested and reported back! I have applied the change to master (only for emscripten of course). Cheers, Bill.