[Gmsh] Modifying color map using script.
Ruth V. Sabariego
r.sabariego at ulg.ac.be
Thu Feb 4 18:06:31 CET 2010
Those are the possible options for View 0:
View[0].ComponentMap0 = 0; // Forced component 0 (if
View.ForceComponents > 0)
View[0].ComponentMap1 = 1; // Forced component 1 (if
View.ForceComponents > 0)
View[0].ComponentMap2 = 2; // Forced component 2 (if
View.ForceComponents > 0)
View[0].ComponentMap3 = 3; // Forced component 3 (if
View.ForceComponents > 0)
View[0].ComponentMap4 = 4; // Forced component 4 (if
View.ForceComponents > 0)
View[0].ComponentMap5 = 5; // Forced component 5 (if
View.ForceComponents > 0)
View[0].ComponentMap6 = 6; // Forced component 6 (if
View.ForceComponents > 0)
View[0].ComponentMap7 = 7; // Forced component 7 (if
View.ForceComponents > 0)
View[0].ComponentMap8 = 8; // Forced component 8 (if
View.ForceComponents > 0)
Regards,
Ruth
On 19/01/10 11:44, Billy Araujo wrote:
> How do I modify the colomap components using script?
>
> Interactively is using mouse on the colormap.
>
> Is it View.ComponentMap0?
>
> This gives:
> Error : Unknown number option 'View.ComponentMap0'
>
> Any help appreciated.
>
> Regards,
>
> Billy.
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
>
--
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 - http://ace.montefiore.ulg.ac.be/