<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Christophe,</div>
<div> </div>
<div>it is perfect, thank you so much!!! It works perfectly! Really, it's amazing! :)</div>
<div>Thank you everybody for the great help as well!</div>
<div> </div>
<div>Larissa</div>
<div> </div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 23. Juli 2013 um 13:41 Uhr<br/>
<b>Von:</b> "Larissa Schultze" <larikerstin@gmx.de><br/>
<b>An:</b> "International users mailing list for Scilab." <users@lists.scilab.org><br/>
<b>Betreff:</b> Re: [Scilab-users] Colorbar_same color code, different graphs</div>
<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div><span style="color: rgb(0,0,255);">Hello Christophe,</span></div>
<div> </div>
<div><span style="color: rgb(0,0,255);">well, I had tried that too actually, but error 144 appears even if it use genfac3d before...here is what I had tried already:</span></div>
<div> </div>
<div>
<div>[fd,SST,Sheetnames,Sheetpos] = xls_open('E:\LI_messungen_alle.xls');<br/>
Sheets = readxls('E:\LI_messungen_alle.xls');<br/>
typeof(Sheets);<br/>
s1=Sheets(1);<br/>
data=s1.value;<br/>
x=data(1,2:8);<br/>
y=data(2:8,1);<br/>
z=data(2:8,2:8);<br/>
xx = linspace(0,200,200);<br/>
yy = linspace(0,150,200);<br/>
[xp,yp] = ndgrid(xx,yy);<br/>
zp = linear_interpn(xp,yp, x, y, z);<br/>
clf()</div>
<div>[xa,ya,za]=genfac3d(xx,yy,zp);<br/>
plot3d(xa,ya,za)<br/>
e=gce<br/>
e.cdata_mapping='direct'</div>
<div>e.color_map=jetcolormap(512);<br/>
e.color_flag=2;<br/>
e.data.color=[1+modulo(1:1300,512),1+modulo(1:1300,512)];<br/>
h.color_flag=3;<br/>
colorbar(1,1300)</div>
<div> </div>
<div><span style="color: rgb(0,0,255);">Again, my table:</span></div>
<div> </div>
<div>Nan 0. 20. 60. 100. 140. 180. 200. <br/>
0. Nan 0. Nan Nan Nan Nan Nan <br/>
5. Nan 68. 73. 61. 63. 67. Nan <br/>
40. Nan 17. 9. 10. 12. 17. Nan <br/>
75. Nan 14. 7. 6. 6. 12. Nan <br/>
110. Nan 15. 6. 4. 6. 21. Nan <br/>
145. Nan 21. 28. 26. 20. 34. Nan <br/>
150. Nan Nan Nan Nan Nan Nan Nan </div>
</div>
<div> </div>
<div> </div>
<div><span style="color: rgb(0,0,255);">So I assume that there must be something missing/wrong somewhere else?</span></div>
<div> </div>
<div><span style="color: rgb(0,0,255);">Thanks a lot,</span></div>
<div><span style="color: rgb(0,0,255);">Larissa</span></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Dienstag, 23. Juli 2013 um 13:24 Uhr<br/>
<b>Von:</b> "Dang, Christophe" <Christophe.Dang@sidel.com><br/>
<b>An:</b> "International users mailing list for Scilab." <users@lists.scilab.org><br/>
<b>Betreff:</b> Re: [Scilab-users] Colorbar_same color code, different graphs</div>
<div>Hello,<br/>
<br/>
> De la part de Larissa Schultze<br/>
> Envoyé : mardi 23 juillet 2013 12:59<br/>
><br/>
> At surface_properties it says that the cdata_mapping command ist<br/>
> specific to fac3d handles. But this fac3d is obsolete.<br/>
<br/>
Fac3d is a (obsolete) Scilab primitive, but is is also a class of<br/>
graphic entities.<br/>
<br/>
Read the beginning of the<br/>
<a href="http://help.scilab.org/docs/5.4.1/en_US/surface_properties.html" target="_blank">http://help.scilab.org/docs/5.4.1/en_US/surface_properties.html</a><br/>
help page :<br/>
"Two classes appears under this type of entity : Plot3d and Fac3d<br/>
according to the plotting function or the way data is entered. Fac3d and<br/>
Plo3d entities are similar but Fac3d is more complete [...]."<br/>
<br/>
Best regards.<br/>
<br/>
--<br/>
Christophe Dang Ngoc Chan<br/>
Mechanical calculation engineer<br/>
<br/>
______________________________________________________________________<br/>
<br/>
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.<br/>
______________________________________________________________________<br/>
_______________________________________________<br/>
users mailing list<br/>
users@lists.scilab.org<br/>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>