Is this possible within one script, or do I have to split it
> into several shorter ones ?
Can you not just create two separate figures in your script
figure()
plot_your_spectras()
figure()
do_your_calibration()
show()
The following functions might be useful to you in one way or another.
fig = figure(num) - create figure num
close(num) - close figure(num)
cla() - clear the crrent axes
clf() - clear the current figure
hold(True|False) - modify the current hold strate
ishold() - inspect the current hold state
I do not understand exactly your problem -- hope this helps.
JDH