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
 How can i disable color on a contour plot

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
kencedric Posted - 02/27/2012 : 11:08:49 AM
hallo everybody,
i ve made a graph with contour plot, command line as below:
worksheet -p 243 contour ogl:=1;
now i want to disable all the color in the graph...
How can i do that.
always thanks for ur Help...
Kendy from Germany
3   L A T E S T    R E P L I E S    (Newest First)
kencedric Posted - 02/29/2012 : 07:32:00 AM
Hallo Guys,
i thank you a lot for ur Help, the Programm code was really what i want.
You Guys have a nice Day...

Kendy
Penn Posted - 02/28/2012 : 03:29:54 AM
Hi Kendy,

From the interface, you can follow Drbobshepherd's method. Or you can just uncheck the Enabled check-box in the Color Fill Control group, which is below the color map setting table.

From the script, there seems no script to do it directly. However, you can set each color level to none one by one. For example:

int numColors = layer.cmap.numcolors;  // get the number of colors
for(ii = 1; ii <= numColors; ii++)
{
	layer.cmap.color$(ii) = 4294967292;  // set the iith color to none	
}
layer.cmap.colorAbove = 4294967292;  // set the color of level above zMax to none
layer.cmap.colorBelow = 4294967292;  // set the color of level below zMin to none


Penn
Drbobshepherd Posted - 02/27/2012 : 6:24:00 PM
Mix up a color palette that has no colors in it. Here is how:

Double-click your plot. Click on the ColorMap/Contours tab. Select Limited Mixing button, then use the From and To buttons to select None for your color palette. Then hit OK.

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