Here is another example to adjust the contour colormap transparency. To try the script, please install the 2023b beta version.
from tkinter import *
import originpro as op
def update1(event):
gl = op.find_graph()[0]
gl.set_int("cmap.transparency", event)
def update2(event):
gl = op.find_graph()[1]
gl.set_int("cmap.transparency", event)
parent = Tk()
parent.geometry("220x120")
sli1 = Scale(parent, from_=0, to=100, tickinterval=20, length= 200, orient=HORIZONTAL, command=update1)
sli2 = Scale(parent, from_=0, to=100, tickinterval=20, length= 200, orient=HORIZONTAL, command=update2)
sli1.pack()
sli2.pack()
mainloop()
https://my.originlab.com/ftp/forum_and_kbase/Images/transparentContour.oggu
James