Mercurial > hg > octave-lyh
comparison src/graphics.cc @ 12221:a91037b36b4c
rename gnuplot_drawnow to __gnuplot_drawnow__
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 30 Jan 2011 04:22:39 -0500 |
parents | 4ae2a74ed04c |
children | 2ad37783bf01 |
comparison
equal
deleted
inserted
replaced
12220:052bd17c3e74 | 12221:a91037b36b4c |
---|---|
2338 | 2338 |
2339 void redraw_figure (const graphics_object& go) const | 2339 void redraw_figure (const graphics_object& go) const |
2340 { | 2340 { |
2341 octave_value_list args; | 2341 octave_value_list args; |
2342 args(0) = go.get_handle ().as_octave_value (); | 2342 args(0) = go.get_handle ().as_octave_value (); |
2343 feval ("gnuplot_drawnow", args); | 2343 feval ("__gnuplot_drawnow__", args); |
2344 } | 2344 } |
2345 | 2345 |
2346 void print_figure (const graphics_object& go, const std::string& term, | 2346 void print_figure (const graphics_object& go, const std::string& term, |
2347 const std::string& file, bool mono, | 2347 const std::string& file, bool mono, |
2348 const std::string& debug_file) const | 2348 const std::string& debug_file) const |
2352 args(4) = debug_file; | 2352 args(4) = debug_file; |
2353 args(3) = mono; | 2353 args(3) = mono; |
2354 args(2) = file; | 2354 args(2) = file; |
2355 args(1) = term; | 2355 args(1) = term; |
2356 args(0) = go.get_handle ().as_octave_value (); | 2356 args(0) = go.get_handle ().as_octave_value (); |
2357 feval ("gnuplot_drawnow", args); | 2357 feval ("__gnuplot_drawnow__", args); |
2358 } | 2358 } |
2359 | 2359 |
2360 Matrix get_canvas_size (const graphics_handle&) const | 2360 Matrix get_canvas_size (const graphics_handle&) const |
2361 { | 2361 { |
2362 Matrix sz (1, 2, 0.0); | 2362 Matrix sz (1, 2, 0.0); |