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

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

[Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by somb


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out
Date: Thu, 16 May 2013 19:28:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #21, bug #37290 (project octave):

Do we need to distinguish between default and factory properties?

The simple fix seems to be to change all of the functions like


void
axes::reset_default_properties (void)
{
  ::reset_default_properties (default_properties);
}


to


void
axes::reset_default_properties (void)
{
  ::reset_default_properties (axes::properties::factory_defaults ());
}


But if we need to be able to reset to current defaults and reset to factory
defaults, we'll need separate sets of functions, or a paramter that allows us
to choose which action to take.

Also, since these functions are all likely to follow exactly the same pattern,
maybe they should be automatically generated by the genprops.awk script.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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