Displaying a graph or a red cross if the graph is missing

Dear all

I want to have a panel where I show a number of graphs - but at some occations the data for the graph will not be available and then I would like to display a red cross or something similar to indicate that the data is not available.

Is there such a function in Igor or do you have any clever suggestions on how I can clearly show that there is nothing to show...?

Thanks,
Johan

chozo

I am not sure I fully understand what you are trying to do. If the graph is empty then this is already a good indication that the data is not available, no? But if you want to draw an 'x' inside the graph you could display dummy data like this:

Make/D/O no_data_x ={0,1,nan,0,1}, no_data = {0,1,nan,1,0}
Display no_data vs no_data_x

 

jtigor

You could also change the graph background color.  For example, the following sets the graph background color to a light red:

modifygraph gbRGB=(65535,40000,40000)