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

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

[Octave-bug-tracker] [bug #39371] addproperty fails for "axesunits" type


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39371] addproperty fails for "axesunits" type
Date: Tue, 02 Jul 2013 01:26:21 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

Follow-up Comment #5, bug #39371 (project octave):

Pantxo,

I've confirmed the error occurs on my first attempt (with both fltk and
gnuplot)


figure (1)
axes ()
hg = hggroup;
addproperty ('myunits', hg, 'axesunits', 'normalized')
error: base_graphics_object::get_properties: invalid graphics object
error: base_graphics_object::get_properties: invalid graphics object

get (hg, 'myunits')
error: get: unknown hggroup property myunits


If I use "units" in place of "myunits" with fltk, I also see the same error,
but on the second attempt it works.


graphics_toolkit fltk
hg = hggroup;
addproperty ('units', hg, 'axesunits', 'normalized')
error: base_graphics_object::get_properties: invalid graphics object
error: base_graphics_object::get_properties: invalid graphics object
addproperty ('units', hg, 'axesunits', 'normalized')
get (hg, 'units')
ans = normalized


I see the same behavior with gnuplot.


graphics_toolkit gnuplot
hg = hggroup;
addproperty ('units', hg, 'axesunits', 'normalized')
addproperty ('units', hg, 'axesunits', 'normalized')
error: base_graphics_object::get_properties: invalid graphics object
error: base_graphics_object::get_properties: invalid graphics object
addproperty ('units', hg, 'axesunits', 'normalized')
get (hg, 'units')
ans = normalized



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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