mabshoff wrote:
> 
> 
> On Feb 9, 12:41 pm, Jason Grout <[email protected]> wrote:
>> Rob Beezer wrote:
>>> When you follow the link to the demos, you get a graphic on the right,
>>> where if you move the mouse over the plot, text below continuously
>>> updates the coordinates.  The vertical scale appears logarithmic and
>>> the coordinates are reported correctly.
>>> No idea if this is something that could eventually be pulled into
>>> sage, but I'd love to see this functionality.  My students are
>>> accustomed to doing this with their graphing calculators.
>> We've had discussions about doing stuff with the canvas element, though
>> I don't remember discussing the possibility of matplotlib having a
>> canvas backend.  That or the existing matplotlib svg backend probably is
>> the way to go.
> 
> Well, svg on IE requires a plugin while the canvas element seems to be
> support by all major rendering engines. So why make things
> complicated? Anything requiring a plugin leads to usability problems,
> i.e. I don't have to point out the endless jmol is broken with gcj
> issue we have to deal with. A solution that just works, but isn't as
> pretty as one that requires plugins is still preferable.
> 


Except that:

1. the svg backend to matplotlib is already written, so there is 
(probably) much less effort involved there.

2. IIRC, canvas is *not* supported on IE without the explorercanvas 
javascript library.  Of course, we could just use that and (hopefully) 
not worry.

Other than that, I agree that not using plugins is preferable.  Someone 
still needs to do the work, though, and it will probably be more work to 
write a canvas backend for matplotlib than touch up the svg backend.

Both would be great student projects, though!

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to