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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 color scaling of contour plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nlevans

USA
Posts

Posted - 05/06/2008 :  2:56:27 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

greg

USA
1379 Posts

Posted - 05/07/2008 :  09:54:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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


Go to Top of Page

nlevans

USA
Posts

Posted - 05/08/2008 :  10:17:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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?
Go to Top of Page

greg

USA
1379 Posts

Posted - 05/14/2008 :  3:57:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000