<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 11pt; font-family: "Book Antiqua",Palatino,serif'>
<p>The problem is that my real plot is made with param3d1 and consists of different elements: polylines with line_mode, with mark_mode, xstrings. It is now impossible to change the type.</p>
<p>Kind regards,</p>
<p>Iza</p>
<div id="signature">---<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="font-family: book antiqua, palatino, serif;">Izabela Wójcik-Grząba</span><br /><span style="font-family: book antiqua, palatino, serif;">Zespół Konstrukcji Metalowych</span><br /><span style="font-family: book antiqua, palatino, serif;">ZKBiM IIB WIL Politechnika Warszawska</span><br /><br /></div>
</div>
<p><br /></p>
<p id="reply-intro">W dniu 29.04.2022 13:01, Stéphane Mottelet napisał(a):</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<p>Hello,</p>
<p>You should rather use scatter3d, which allows to give different colors to markers (and scale the color wrt a given color vector)</p>
<p>S.</p>
<div class="v1moz-cite-prefix">Le 29/04/2022 à 12:49, Izabela Wójcik-Grząba a écrit :</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>Hello,</p>
<p>I have a simple example of param3d1 graph:</p>
<p><span style="font-family: terminal, monaco, monospace;">param3d1([1 2 3],[3 4 2],[5 2 4]);</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h=gce();</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h.line_mode="off";</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h.mark_mode="on";</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h.mark_sytle=9;</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h.mark_size=1;</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h.mark_foreground=13;</span></p>
<p><span style="font-family: terminal, monaco, monospace;">h.mark_background=13;</span></p>
<p>I would like to ask if it's possible to change properties of marks individually? My main goal is to change colors using colormap according to the values assigned to each mark (point on the graph). As an illustration of my problem I give a vector of values and colors for the 3 points:</p>
<p><span style="font-family: terminal, monaco, monospace;">[1 2 3]</span></p>
<p><span style="font-family: terminal, monaco, monospace;">[red green blue]</span></p>
<p>I know how to do it for line_mode="on", but for mark_mode the structure of figure is different.</p>
<p>Thanks in advance for any help. Regards,</p>
<p>Iza</p>
<div id="v1signature">-- <br />
<div class="v1pre" style="margin: 0; padding: 0; font-family: monospace;"><span style="font-family: book antiqua, palatino, serif;">Izabela Wójcik-Grząba</span><br /><span style="font-family: book antiqua, palatino, serif;">Zespół Konstrukcji Metalowych</span><br /><span style="font-family: book antiqua, palatino, serif;">ZKBiM IIB WIL Politechnika Warszawska</span><br /><br /></div>
</div>
<br /><fieldset class="v1moz-mime-attachment-header"></fieldset>
<pre class="v1moz-quote-pre">_______________________________________________
users mailing list
<a class="v1moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org" rel="noreferrer">users@lists.scilab.org</a>
<a class="v1moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" rel="noopener noreferrer">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="v1moz-signature">-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="v1moz-txt-link-freetext" href="http://www.utc.fr/~mottelet" target="_blank" rel="noopener noreferrer">http://www.utc.fr/~mottelet</a>
</pre>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />users mailing list<br /><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br /><a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" rel="noopener noreferrer">http://lists.scilab.org/mailman/listinfo/users</a></div>
</blockquote>
</body></html>