Displaying a graph or a red cross if the graph is missing
Johan.Soderstrom
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
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:
Display no_data vs no_data_x
August 15, 2023 at 02:12 am - Permalink
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)
August 15, 2023 at 07:01 am - Permalink
In reply to You could also change the… by jtigor
This is a good idea (I think). It requires no new data and clearly shows that the data is missing... I think I will use this approach...
chozo - thanks as well, but I think I will go for this approach in order to not need new waves...
Best,
Johan S
August 15, 2023 at 11:56 am - Permalink
I use the background color in a similar circumstance to yours and it does the job.
August 15, 2023 at 06:23 pm - Permalink