<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can try the following:<br>
<br>
View "mesh a" {<br>
SL(0,0,0,1,0,0){0,0};<br>
SL(1,0,0,1,1,0){0,0};<br>
SL(1,1,0,0,1,0){0,0};<br>
SL(0,1,0,0,0,0){0,0};<br>
};<br>
View "mesh b" {<br>
SL(-0.5,-0.5,0, 0.5,-0.5,0){0,0};<br>
SL( 0.5,-0.5,0, 0.5, 0.5,0){0,0};<br>
SL( 0.5, 0.5,0,-0.5, 0.5,0){0,0};<br>
SL(-0.5, 0.5,0,-0.5,-0.5,0){0,0};<br>
};<br>
View[PostProcessing.NbViews-1].ColorTable = { {255,0,0} }; //
Changing color to red<br>
<br>
Regards,<br>
Ruth<br>
<br>
<br>
<br>
On 17/09/10 15:34, Wangshiraz wrote:
<blockquote cite="mid:SNT111-W23AD6E9E3D90DA2252BFB4DC7B0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
Hi,<br>
<br>
My mesh file is like below:<br>
<br>
View "mesh a" {<br>
SL(0,0,0,1,0,0){0,0};<br>
SL(1,0,0,1,1,0){0,0};<br>
SL(1,1,0,0,1,0){0,0};<br>
SL(0,1,0,0,0,0){0,0};<br>
};<br>
<br>
It shows a GREEN rectangle on the screen.<br>
<br>
I have another mesh which I want it to be created in the same file
in another View named "mesh b" in another color, say RED.<br>
<br>
Just wondering how do I change the color? Which command?<br>
<br>
Regards,<br>
<br>
Cean
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dr. Ir. Ruth V. Sabariego
University of Liege, Dept. of Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - <a class="moz-txt-link-freetext" href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a>
</pre>
</body>
</html>