T O P I C R E V I E W |
PivaF |
Posted - 12/12/2024 : 2:04:48 PM OriginPro 2024 Operating System:Windows 11
Good morning, I want to reproduce the "Image Plot" button (Image/Contour/Image Plot) with a script, but I cannot find anywhere a code that could do it. I basically have a matrix and reproduce it in a image plot with a grayscale, could you help me?
Let me know if you need further information
Thank you so much for your help Francesco |
2 L A T E S T R E P L I E S (Newest First) |
PivaF |
Posted - 12/12/2024 : 3:32:03 PM Thank you so much for your help!
Best regards (and best wishes since it's almost Christmas) Francesco |
ChaoC |
Posted - 12/12/2024 : 3:24:49 PM Hello PivaF,
You can use:
run.section(Plot3D,ImagePlot)
If you Ctrl+Shift+Click and toolbar button, it will open the Labtalk script it runs.
Doc on run.section: https://www.originlab.com/doc/LabTalk/ref/Run-obj#:~:text=is%20not%20specified.-,run.section,-(fileName%2CsectionName
If it's not necessary to run the exact toolbar button code, then you could also use the X-function plotm: https://www.originlab.com/doc/X-Function/ref/plotm
e.g. plotm plot:=220 ogl:=[<new template:=image>]<new>;
Best, Chao |
|
|