<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Samuel, et al.<br>
<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(0,0,0);">>>a</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">log_flags</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">nln</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span></pre>
>>... But what should I do in a 3D plot ???<br>
>??? The same. each character of "nln" means "<b>n</b>ormal" or
"<b>l</b>ogarithmic"<br>
<br>
That's my big ??? as well. Why didn't it work for plot3D ???<br>
<br>
Samuel - I'm willing to send my script to you + a handful of
datafiles ... then you can check for yourself.<br>
<br>
Best regards,<br>
Claus<br>
<br>
On 20-01-2016 20:47, Samuel Gougeon wrote:<br>
</div>
<blockquote cite="mid:569FE44F.2040504@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello,<br>
<br>
Le 20/01/2016 20:33, Claus Futtrup a écrit :<br>
</div>
<blockquote cite="mid:569FE0F2.7050207@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Hi there<br>
<br>
I have a bunch of data which I'm trying to plot in a 3D plot.
Background - it's impedance measurements of a loudspeaker,
measured at different input voltages. I have:<br>
<br>
voltage = [0.1 0.4 0.7 1.0];<br>
f = a vector of frequencies (from 1.4 Hz to 20000 Hz ... I have
a total of 27000 data points in this vector)<br>
m = a matrix of magnitude values, dimension matches frequency f
and voltage.<br>
<br>
The frequency axis should be plotted on a logarithmic plot.
Otherwise I get the strangest looking plot (basically just a
dashed line with the axes - no graphs).<br>
<br>
I solved this by plotting: <br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(50,185,185);">plot3d</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">voltage</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(174,92,176);text-decoration:underline;">log10</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">f</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">m</span><span style="color:rgb(92,92,92);">'</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">alpha</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">35</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">theta</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">45</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb
(0,0,0)
;">flag</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">2</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">2</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">3</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span></pre>
When I plot a 2D plot, I can simply write something like <br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(0,0,0);">a</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">log_flags</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">nln</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span></pre>
... But what should I do in a 3D plot ???<br>
</blockquote>
??? The same. each character of "nln" means "<b>n</b>ormal" or "<b>l</b>ogarithmic",
the first char for x, the second for y, the third for z.<br>
So, unless i did not catch what you mean, just assign to a.<span
style="color:rgb(170,170,170);"><font color="#000000">log_flags
the n|l modes that you want.</font><br>
</span><br>
HTH<br>
Samuel<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>