octave-maintainers
[Top][All Lists]
Advanced

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

Re: set axes position


From: Pantxo Diribarne
Subject: Re: set axes position
Date: Sun, 28 Oct 2012 19:23:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1

Le 28/10/2012 17:20, Michael D. Godfrey a écrit :
On 10/28/2012 11:11 AM, Pantxo Diribarne wrote:
If someone can point me to the relevant sources, I will take a look and see wether my poor c++ skills are enough 
You can start by looking at graphics.cc.  It is usually found at:
libinterp/interpfcn/.  The command "which set" will find it.  This is
C++ (ugh), but part of the graphics code is in .m files.  You can also
look at print.m to see how a plot command gets setup.  The worst
problem is not C++, but the fact that the graphics code is long and
complex and has "grown" over the years.

Anyhow, someone will try to fix the bug, but any additional help  you
can give will be appreciated.

Michael

I tried to figure out the way prop/val structures where handled in graphics.cc, adding:
octave_stdout << name << std::endl; //line 2048

 It looks like  the prop/val structure is stored in an octave_map after sorting the keys alphabetically. Am I right?

This would be the reason why "position" is always treated last, and forces "activepositionproperty" to become "position" (through a listener function??). I now have to see where the listener function is called and how It could be somehow disabled.

Pantxo

reply via email to

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