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