Colorscale recreation glitch
| proland | May 24, 2012 - 12:12 | ||
|---|---|---|---|
|
I've encountered a strange glitch and I'm not sure how to fix it. I am adding a colorscale to an image, which uses minor ticks (minor=1). colorscale/x=0 /f=0/a=RC image='' , minor=1, "\Z12"+StatNames[i] + Units[i] When I save the graph recreation macro, or close the program, there is an error when it is recreated. The colorscale is recreated using the command ColorScale/C/N=text0/F=0/A=RC/X=0.00 /C/N=text0minor=1 The second /c/n can not be there and is causing an error. This command was automatically created by Igor as part of the graph recreation macro for my image with a color scale. Any thoughts as to how I can resolve this? For the short term, eliminating the minor ticks avoids the error, but I am confused as to why this is happening in the first place. |
|||

Joined: 2007-07-19
Location: United States
We've fixed some bugs in the ColorScale code.
Try the latest nightly build here:
http://www.wavemetrics.net/Downloads/latest
and try re-saving the experiment. Note: the fix applies to *saving* the recreation macro, so the error will still occur when you *open* the experiment file, but once you resave the experiment it should be okay.
You can see if Igor is generating fixed recreation code by using Ctr+Y (command-Y on Macintosh) to save or update the window recreation macro.
Sorry for the trouble.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.