Problem: I want to show my macro variables as text with formatting. For example the minumum value of my contour variable |minc| is 12.23423157 but I want to show it with less decimal digits. How can I do this?
Solution: You can use standard C formatting strings with the variable name.
1) To show 2 decimal digits – |minc%.2f|
2) To show as an integer with some leading spaces – |minc%8d|
3) To show in exponential format – |minc%e|
To load more than 10 files in a loop add some formatting to |loop|. For example if you have hundreds of files, name your files something like step001.plt step002.plt, step003.plt, etc. Then use this command within the loop of your macro: