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 for Programming
 LabTalk Forum
 Rescale z only(!) for 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

white.string

Germany
Posts

Posted - 07/06/2005 :  10:10:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5G SR3
Operating System: WinXP

Using a script, I produce 4 contour plots from ASCII data. For plotting I use a graph template with fixed x-y Dimensions and predefined color scale -z_value ... +z_value. For the last contour plot I'd like to rescale the color scale (0 ... + z_value) but not to touch the x-y- scales (e.g. no "lay -a"). Any hints? Thank you!

bye
Rolf

Mike Buess

USA
3037 Posts

Posted - 07/06/2005 :  10:47:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rolf,

layer.x.rescale=1; // manual
layer.y.rescale=1; // manual
layer.z.rescale=2; // normal
lay -a;

Mike Buess
Origin WebRing Member
Go to Top of Page

white.string

Germany
Posts

Posted - 07/07/2005 :  05:16:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Mike,

thanks for your fast response. Unfortunately this doesn't work for contour plots. It works perfectly with "normal" 3D plots.
Is there another way to tell Origin the range and the number of colorplanes (or the divisions respectively) I want to set?

Thanks, Rolf
Go to Top of Page

easwar

USA
1965 Posts

Posted - 07/07/2005 :  11:36:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rolf,

There is better control to contour color map from Origin C. So you may want to use Origin C code, or at least write some OC function to set the levels, which you could then call from LabTalk.

See this post for details:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=3843

Easwar
OriginLab

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