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
 Contour image
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

66de250

China
24 Posts

Posted - 10/31/2024 :  06:07:02 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear Sir, may I ask how I can modify the display range of Y axis of my contour image? I only changed the value of Y axis after using the statement 'layer.y.firsttick=xxx', but the image did not change accordingly. Also, how should I hide the contour lines in the ascending line image. Finally, it is well known that after drawing the contour image, double clicking the image can open the drawing properties window and set it accordingly. How can I achieve the 'find minimum/maximum value' function in the table head level of the drawing properties window through the script? Can you give me specific LabTalk code to help me solve the problem? Thank you so much!

ChaoC

USA
174 Posts

Posted - 10/31/2024 :  1:13:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

1) You can use y1=xxx; to set the first tick value
2) You can use layer.cmap.showLines(3); to hide all contour lines
See the documentation on layer.cmap here: https://www.originlab.com/doc/LabTalk/ref/Layer-CMap-obj
3) Could you clarify what you mean by "'find minimum/maximum value' function in the table head level of the drawing properties window"?

If you just want to add the min/max label in the graph you can run these two lines (requires at least Origin2024b):

run.LoadOC(Originlab\DataInfoDlg.c, 16);
run -oc AddMinMaxAnnotationForContourPlot();

Best,
Chao
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