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
 Contour image

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
66de250 Posted - 10/31/2024 : 06:07:02 AM
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!
1   L A T E S T    R E P L I E S    (Newest First)
ChaoC Posted - 10/31/2024 : 1:13:27 PM
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

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