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
 Origin Forum
 color scaling of 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
nlevans Posted - 05/06/2008 : 2:56:27 PM
Origin Version (7):7
Operating System:Vista
I am doing color contour plots of several matrices. I need the color scale for each matrix to be the same for comparison. When I create the plot from the matrix I get scale from blue(low values) to red(high values). When I add layers to the graph and put a matrix on the layer I get the opposite color scheme. That is problem one. Problem two arises when I try to change the color scale. I go into the "layer properties" tab then the "color fill" tab. No matter what colors, or level I change, when I close the "color fill" tab The new scale is always from light blue to purple.

Those are my issues, I will describe what I need to have:
4 contour plots on the same graph(different layers) all with the same color scale from blue to red.

This is probably simple so please help me.
nlevans
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 05/14/2008 : 3:57:18 PM
This is an ancient quirk of the Fill dialog. There are two options available when filling in the color scale.

The first is Limited Mixing - in which we go from Start color to End color in a direct route, changing each channel (RGB) by a value that will get us to the end color in the right number of steps/levels.

The second is Introducing Other Colors in Mixing which will step through in such a way that if the first color is blue (or red) and the last color is red (or blue) then you will see intermediate colors like green and yellow which get bypassed by the first method.

The quirk is that the fill method gets applied when you click OK, but that no method is 'read' from the graph since the Template holds the color scale settings and not the method which created the scale - that could include a user editing the scale. What happens is:

You open Plot Details of a graph with a Color Scale that looks like it was generated by method 2 (and may have been!). blue thru green to red
You click the Fill header to open the Fill dialog.
You don't notice that the first method is checked (the default).
You click OK.
You get method 1. blue thru purple to red

Just re-open the Fill dialog and select the second option.


nlevans Posted - 05/08/2008 : 10:17:59 PM
Greg, this is in response to my first question correct? How about the issue of colors changing when I open the "fill" tab under layer properties. Just opening and closing the tab changes color scale from ,blue thru green to red, to ,blue thru purple to red. Ever see that issue?
greg Posted - 05/07/2008 : 09:54:02 AM
Not so simple in version 7 ..
easy in versions 7.5 & 8

In 7.0 there is nothing in the GUI that helps you to do this.
You would need to write a script to make this a bit easier.
You can look at this page:
http://www.originlab.com/www/support/resultstech.aspx?ID=647&language=English&Version=All
to see the properties involved and get an idea what kind of script is needed to accomplish this.

In version 7.5 and 8 you can
Right-click on the graph with your desired scale
Choose Copy Format : All
Right-click on each graph layer you want to receive the scale
Choose Paste Format



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