<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Samuel,</font><br>
<br>
<blockquote type="cite"
cite="mid:bd609ce3-cf44-759d-0979-9c87f89d80df@free.fr">
<blockquote type="cite"
cite="mid:4d51bfe9-670b-f95d-6728-587f01c0058c@fceia.unr.edu.ar"><font
face="Courier New">The expected behavior would be that the
window were completely visible from the beginning.<br>
</font></blockquote>
<p>I don't think so. This would require to set a priority between
the default figure size and default figure position, in a way
that anyone could clame as debattable. As a user you are already
able to tune and set the default values of figures properties in
your startup file, according to your own user's screen and
wishes, noticeably .axes_size and .figure_position<br>
</p>
</blockquote>
<br>
The current behavior is unfriendly. Being the graphic output a
central feature in any mathematical software, one would expect that
the default behavior would be that any figure be completely visible
right after its creation without any further action by the user.
Probably there are many things that can be controlled from the
startup file or even through the figure's properties, but it adds
unnecessary complications when what one needs is just to view the
figure that has been created. By the way, one problem with
manipulating the startup file is that when updating the program or
when installing it in a new computer one would need to edit it,
remembering what to edit just to get the program doing what it
should have been doing out of the box. <br>
<br>
What I'm asking for requires only that the figure rendering engine
automatically detect the screen size and the presence and height of
the task bar, and then compute the position of the figure to avoid
conflict between the figure and the task bar. Indeed, this is the
default behavior of most of the pop-up windows in virtually every
application. For instance, opening the preferences window, does
exactly this. I have even tested what happens if one manually
increases the height of the task bar (what could be useful if there
are many open applications). The position of the preferences window
adapts up to the situation where there is no more room and only then
it exceeds the screen limits.<br>
<br>
The function createWindow() works a bit better than figure(), since
it creates a window that does not conflict with a single-line task
bar, but if the task bar is enlarged, it eventually overlaps the new
graphic window hiding part of it.<br>
<br>
Regards,<br>
<br>
Federico<br>
<br>
<br>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>