How to use ModifyImage in for loop?
Jinhyung Kim
Fri, 10/17/2014 - 04:06 am
I'm a newbie of Igor Pro.
I attached the screen shot.
I displayed three image graph and I want to change the max and min of the color scale bar using the function.
But, If I execute the function 'scale(mi,mx)' it applied only the window what i click before.
Help me please.
variable mi, mx
String TheGraphs = WinList("*", ";", "WIN:1")
variable i
do
String ThisGraph = StringFromList(i, TheGraphs)
if (strlen(ThisGraph) == 0)
break
endif
ModifyImage /W=$ThisGraph ''#0, ctab = {mi,mx, YellowHot,0}
i+=1
while(1)
end
October 17, 2014 at 05:20 am - Permalink
It's great.
Thank you.
October 18, 2014 at 12:03 am - Permalink