Mercurial > octave-antonio
view etc/README.gnuplot @ 20113:c36f2b083613
make copying figures to clipboard work (bug #44866)
* Figure.cc (Figure::copy_figure_callback): Just print the figure to a
file here, then call octave_link::copy_image_to_clipboard.
(delete_file): Delete unused static function.
* main-window.h, main-window.cc
(main_window::copy_image_to_clipboard): New function.
(main_window::construct_octave_qt_link): Connect
octave_qt_link::copy_image_to_clipboard_signal signal to
main_window::copy_image_to_clipboard slot.
* octave-qt-link.h, octave-qt-link.cc
(octave_qt_link::do_copy_image_to_clipboard): New function.
(octave_qt_link::copy_image_to_clipboard_signal): New signal.
* octave-link.h (octave_link::do_copy_image_to_clipboard):
New pure virtual function.
(octave_link::copy_image_to_clipboard): New static funtion.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 Apr 2015 00:36:24 -0500 |
parents | 446c46af4b42 |
children |
line wrap: on
line source
Octave works best with gnuplot 4.4 or higher, which is available from http://www.gnuplot.info. In versions prior to 4.2.6 it is not possible to use the mouse to zoom in on plots. This is a limitation of earlier versions of gnuplot, which are unable to zoom when the data it plots is not stored in a file. John W. Eaton jwe@octave.org Last updated: Tue Jan 4 18:55:56 PST 2011