You didn't say which IC615 hotfix you're using - I think this was broken in an earlier hotfix and is now fixed (it may be ISR7 that it was fixed in, I can't quite remember).
You might be able to workaround it by calling plot(waveform[ind] ?expr list(sprintf(nil "waveform[%d]" ind))) - effectively giving it a unique name - but I can't quite remember if that worked or not as a workaround.
Which subversion are you using? (Help->About will tell you)
In reply to Andrew Beckett:
It is 126.96.36.1990.3.
Thanks for the suggestion. I did try something similar to that previously. The plot names do turn out unique, but the waveforms themselves are still not right.
In reply to Eshar:
Best would be to use a newer subversion (e.g. latest hotfix), but if you can't, try:
for(i 0 2 famSetExpr(waveform[i] `waveform[,i]) awvPlotWaveform(currentWindow()||newWindow() list(waveform[i]))))
use awvPlotWaveform instead of plot(), and the famSetExpr() is setting the expression on the waveform object itself.
I think that will probably work...
Thanks. That works. I couldn't find these functions in either the ocean or the skill reference guides from 2011. Is there some document that explains them?
awvPlotWaveform is documented in the Virtuoso Visualization and Analysis XL SKILL manual (<ICinstDir>/doc/vivaxlskill/vivaxlskill.pdf ) - you can find this by running cdnshelp or Help from the pulldown menus in Virtuoso and searching.
famSetExpr is a private (and thus undocumented) function which I was merely providing as a means of working around your problem.
The correct solution is to update to a recent hotfix.