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
Reproduce the Image Plot button with script
New Topic
Reply to Topic
Printer Friendly
Author
Topic
PivaF
Italy
2 Posts
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
ChaoC
USA
179 Posts
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
PivaF
Italy
2 Posts
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
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000