<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 26/11/2016 08:52, Antoine Monmayrant
a écrit :<br>
</div>
<blockquote cite="mid:3100-58393f00-2d-4cc6b400@100718258"
type="cite">
<pre wrap="">Hi all,
Following my questions about axis breaks, I started playing with "xsetech" and "xgetech" that didn't know previously.</pre>
</blockquote>
<br>
<br>
They are so badly named in computo-frenglish...<br>
"x" for X-term = graphical (bitmap addressable) terminal for the
linux world<br>
"set|get" : ok, at least we know what we want to do and it's rather
clear<br>
"ech" : i guess that this stands for "échelle" that means "scale" in
french.<br>
Better expected names: setaxesArea(), getaxesArea(), or all in lower
case.<br>
or even much better: <br>
<ul>
<li>extending subplot() to replace xsetech() (actually to make it
a private internal function, already used by subplot)<br>
</li>
<li>abandonning xgetech(), because it does nothing more than
returning with useless order constrains<br>
</li>
<ul>
<li>wrect = gca().axes_bounds, <br>
</li>
<li>frect = gca().data_bounds, <br>
</li>
<li>logflags = gca().log_flags, <br>
</li>
<li>and somewhat arect = gca().margins<br>
</li>
</ul>
</ul>
<blockquote cite="mid:3100-58393f00-2d-4cc6b400@100718258"
type="cite">
<pre wrap="">
Two issues:
1) the help pages are missing description of most of the parameters,</pre>
</blockquote>
Parameters description is not missing. It is just written for
developers that are not users ;):<br>
Format and datatype of the parameter, that's all. No need to know
what it represents. Any such need?<br>
I am jocking, but by the way most of pages are written in this way.
Most of pages need a full overhaul by advanced users.<br>
As a contributor, you are welcome, most likely because you know how
much time you loose because of a poor documentation, vs how much
time you would save + using a good doc - contributing to write it.<br>
<br>
<blockquote cite="mid:3100-58393f00-2d-4cc6b400@100718258"
type="cite">
<pre wrap="">
2) the two functions are apparently not using the same definition of frect:</pre>
</blockquote>
I don't see that, for instance using the examples. Could you please
provide a clear example setting parameters with xsetech() and
reading them back from xgetech(), that would not match? Thanks!<br>
<br>
Cheers<br>
Samuel<br>
<br>
</body>
</html>