octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35332] add support for gnuplot's canvas (html


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35332] add support for gnuplot's canvas (html5) terminal
Date: Thu, 19 Jan 2012 19:51:43 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7

URL:
  <http://savannah.gnu.org/bugs/?35332>

                 Summary: add support for gnuplot's canvas (html5) terminal 
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Thu 19 Jan 2012 02:51:42 PM EST
                Category: Plotting with gnuplot
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: bpabbott
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Gnuplot 4.4 has introduced an html5 capabel terminal named "canvas". 

Some demos: http://gnuplot.sourceforge.net/demo_canvas/

To modify Octave to enable the htlm5 terminal, the sources to patch are
below.

       __gnuplot_drawnow__.m: gnuplot_set_term()
       __gnuplot_drawnow__.m: gnuplot_is_enhanced_term()

Once "canvas" is added there, a plot can be produced a by the command below.


plot (rand (3))
drawnow ("html5", "plot.html5", false, "/dev/null")


It should be possible to modify __gnuplot_drawnow__.m to support gnuplot
terminals that are not explicitly supported by Octave. Perhaps this is an
opportunity to do that.

To add html5/canvas support the print(), then the sources to modify include
those below.

       print.m
       __gnuplot_print__.m




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35332>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]