GNU Octave, version 3.5.0+ Copyright (C) 2011 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "i686-pc-linux-gnu". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Read http://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type `news'. octave:1> graphics_toolkit fltk doctave:2> demo ("scatter", 3) scatter example 3: rand_10x1_data1 = [0.171577, 0.404796, 0.025469, 0.335309, 0.047814, 0.898480, 0.639599, 0.700247, 0.497798, 0.737940]; rand_10x1_data2 = [0.75495, 0.83991, 0.80850, 0.73603, 0.19360, 0.72573, 0.69371, 0.74388, 0.13837, 0.54143]; x = rand_10x1_data1; y = rand_10x1_data2; s = 10 - 10*log (x.^2 + y.^2); h = scatter (x, y, s, s, "s", "filled"); octave:3> quit ==330== Invalid read of size 4 ==330== at 0x5E5D5FC: Fl_Group::clear() (in /usr/lib/libfltk.so.1.1) ==330== by 0x5E5D87C: Fl_Group::~Fl_Group() (in /usr/lib/libfltk.so.1.1) ==330== by 0x5E46654: Fl_Window::~Fl_Window() (in /usr/lib/libfltk.so.1.1) ==330== by 0x7F7C60F: plot_window::~plot_window() (__init_fltk__.cc:757) ==330== by 0x7F811E9: fltk_graphics_toolkit::finalize(graphics_object const&) (__init_fltk__.cc:1572) ==330== by 0x4335EE6: gh_manager::do_free(graphics_handle const&) (graphics.h:1945) ==330== by 0x4336A91: F__go_delete__(octave_value_list const&, int) (graphics.h:10193) ==330== by 0x45B8F28: octave_builtin::do_multi_index_op(int, octave_value_list const&, std::list > const*) (ov-builtin.cc:128) ==330== by 0x45B7EDE: octave_builtin::subsref(std::string const&, std::list > const&, int, std::list > const*) (ov-builtin.cc:63) ==330== by 0x45B8CE5: octave_builtin::subsref(std::string const&, std::list > const&, int) (ov-builtin.cc:46) ==330== by 0x469F628: octave_value::subsref(std::string const&, std::list > const&, int) (ov.cc:1201) ==330== by 0x469F715: octave_value::subsref(std::string const&, std::list > const&, int, std::list > const*) (ov.cc:1212) ==330== Address 0x8a2541c is 4 bytes inside a block of size 84 free'd ==330== at 0x4024851: operator delete(void*) (vg_replace_malloc.c:387) ==330== by 0x5E72FE4: Fl_Menu_Bar::~Fl_Menu_Bar() (in /usr/lib/libfltk.so.1.1) ==330== by 0x7F7C5F1: plot_window::~plot_window() (__init_fltk__.cc:614) ==330== by 0x7F811E9: fltk_graphics_toolkit::finalize(graphics_object const&) (__init_fltk__.cc:1572) ==330== by 0x4335EE6: gh_manager::do_free(graphics_handle const&) (graphics.h:1945) ==330== by 0x4336A91: F__go_delete__(octave_value_list const&, int) (graphics.h:10193) ==330== by 0x45B8F28: octave_builtin::do_multi_index_op(int, octave_value_list const&, std::list > const*) (ov-builtin.cc:128) ==330== by 0x45B7EDE: octave_builtin::subsref(std::string const&, std::list > const&, int, std::list > const*) (ov-builtin.cc:63) ==330== by 0x45B8CE5: octave_builtin::subsref(std::string const&, std::list > const&, int) (ov-builtin.cc:46) ==330== by 0x469F628: octave_value::subsref(std::string const&, std::list > const&, int) (ov.cc:1201) ==330== by 0x469F715: octave_value::subsref(std::string const&, std::list > const&, int, std::list > const*) (ov.cc:1212) ==330== by 0x4744E6C: tree_index_expression::rvalue(int, std::list > const*) (pt-idx.cc:407) ==330== ==330== ==330== HEAP SUMMARY: ==330== in use at exit: 38,324,539 bytes in 12,891 blocks ==330== total heap usage: 679,899 allocs, 667,008 frees, 95,046,270 bytes allocated ==330== ==330== LEAK SUMMARY: ==330== definitely lost: 7,388 bytes in 154 blocks ==330== indirectly lost: 88,768 bytes in 514 blocks ==330== possibly lost: 862,121 bytes in 7,341 blocks ==330== still reachable: 37,366,262 bytes in 4,882 blocks ==330== suppressed: 0 bytes in 0 blocks ==330== Rerun with --leak-check=full to see details of leaked memory ==330== ==330== For counts of detected and suppressed errors, rerun with: -v ==330== ERROR SUMMARY: 3 errors from 1 contexts (suppressed: 149 from 12)