The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Colormap (Farb-Skala) Properties

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
asenv Posted - 04/30/2010 : 11:46:05 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.1G SR1
Operating System:Windows 2000 Proffesional

I would like to access the colormap/contour (Farbpalette/Kontur) properties with LabTalk. I am creating a contour plot from matrix with:
worksheet -p 226;

After that creating the scale with:
run.section(Standard,Spectrum);

After that placing the scale with "graphicobject.propert":
SPECTRUM1.X=xxx;
...
After that manipulating the scale like:
LAYER1.CMAP.COLORABOVE=xxx;
LAYER1.CMAP.COLORBELOW=xxx;
LAYER1.CMAP.COLORHIGH=xxx;
LAYER1.CMAP.COLORLOW=xxx;
LAYER1.CMAP.COLORMISS=xxx;
LAYER1.CMAP.COLORMIXMODE=1;
LAYER1.CMAP.Z1=xx;
LAYER1.CMAP.COLOR1=xxx;
LAYER1.CMAP.Z2=xx;
LAYER1.CMAP.COLOR2=xxx;
.
.
.
LAYER1.CMAP.ZMAX=xx;
LAYER1.CMAP.ZMIN=xx;
layer.cmap.updateScale();


The Picture is just for example what I am talking about:


Now I want to access programatically (LabTalk or OriginC) the Properties of this color scale (Farb-Skala) like: Increment, Width of scale, FontSize .. You can see them on the next pic.


Also I would like to access the contour (Farbpalette/Kontur) lables (Beschriftungen) of the layers (ebenen). By default are all checked and I need to choose sometimes 3 (92,93 and 94) or (94,95,96) or 4. Best is to be able to every single one of them separately. Then from the next tab (of the pic down) Numerisches Format I want to set the decimal places of the numbers and from tab "Beschriftung" the font size.

I hope you can help me, because I could not find this information, neither online nor from support.

With Best Regards
Asen
2   L A T E S T    R E P L I E S    (Newest First)
asenv Posted - 05/07/2010 : 07:59:15 AM
Thanks Iris. I will take a look at the link you send me. Is there a way to set somewhere the default values (from second picture) of Breite des Farbbalkens/width of color scale and the text size and increment, so that when a color scale is created it automatically shows up with lets say text size (font) 7 instead 12, width 300 instead 400 and increment 2? I assume these values should be read from somewhere. Or maybe save this color map as template (with my settings) and then load this template for the current contour?
Iris_Bai Posted - 05/03/2010 : 11:34:24 PM
Hi Asen,

http://ocwiki.originlab.com/index.php?title=OCGuide:Customizing_Data_Plots#Setting_Colormap_Settings

This page demonstrates how to set the options in Plot Details dialog three Tabs in Origin C, for example, show/hide labels, set the format of lines, set the format on the label text, and the numeric formats. Just for the third picture you mentioned above.

For the second picture, the color scale control, we did not support the programming way (LabTalk or Origin C) to setup. However, we will improve the color scale control GUI and support programming way in Origin8.5.

Thanks for your understanding.

Iris

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000