<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Clauss,<br>
<br>
After a first polarplot upgrade in 2010, i started writting some
other improvements in 2016, first about still improving angular
and radial labels positionning. Yesterday, i took the opportunity
of your message to post on the CodeReview the polarplot.sci in
progress, and to go on a bit, mainly about proper labels for polar
datatips.<br>
You can already use the scripts as is:
<a class="moz-txt-link-freetext" href="https://codereview.scilab.org/#/c/19684/">https://codereview.scilab.org/#/c/19684/</a><br>
Just click on the polarplot.sci link, and then you may download
it, or copy/past the content.<br>
<br>
The trick with gca().rotation_angles reminded y Rafael is well
known, but due to labels uncentered on their anchor, using it
currently shifts labels (see the screenshot below). This is fixed
in the CodeReview version.<br>
<br>
If you want to be fully back-compatible with this new
polarplot.sci, you should simply comment lines<br>
performing some glue(). This won't prevent other improvements
working.<br>
<br>
Other improvements can be proposed, as listed in the review
header:<br>
<ul>
<li> DONE:</li>
<ul>
<li>centering of angular labels: Already allows shifting the
0° position and the angular direction (clockwise/trigo),
using gca().rotation_angles</li>
<li>Optimized positionning of radial labels</li>
<li>Glue into 4 compounds lines of the radial frame lines of
the circular frame angular labels radial labels (not
backcompatible => To be discussed carefully).<br>
</li>
<li>polarplot() canceled external drawlater(): FIXED</li>
<li>Datatips: implement a convenient default display function
<br>
</li>
</ul>
<li>WIP:</li>
<ul>
<li>Scilab Enhancement Proposal</li>
<li><a href="http://bugzilla.scilab.org/5907:" target="_blank">http://bugzilla.scilab.org/5907:</a>
enable overplotting</li>
<li><a href="http://bugzilla.scilab.org/5693:" target="_blank">http://bugzilla.scilab.org/5693:</a>
page to be overhauled</li>
</ul>
<li>TO BE ANALYZED</li>
<ul>
<li>Angular labels with a rect box disappear or are unclipped
over neighbouting axes.</li>
<li>Enable specifying major values for the radial and angular
frame (to be analyzed)</li>
<li>Enable radial logarithmic scale</li>
<li>Extend replot() to polar plots
</li>
</ul>
</ul>
<p>This may be seen as a "pre-SEP" :). A proper SEP will be
required. To come.<br>
<br>
In my opinion, the trick with gca().rotation_angles is not fully
convenient because</p>
<ul>
<li>it may switch xlabel() and ylabel() positions, what could be
disturbing</li>
<li>radial labels can be turned displayed along a row, what must
be avoided to avoid overlays when labels are quite long.</li>
</ul>
<p>So, the final implementation won't use this trick.</p>
<p>Later, with a priority clearly lower, the same job shall be
done for graypolarplot().</p>
<p>Cheers<br>
Samuel<br>
</p>
</div>
<img src="cid:part3.A1D8B9F6.4793A450@free.fr" alt="" height="377"
width="559">
</body>
</html>