Duplicate of:
How to Label and Caption a Tikzpicture inside a tabular environment
I am trying to include an image inside a table cell. But I am declaring the image using the figure environment, where I can include a label to reference to inside the document (that's why I did't use \includegraphics, because this hasn't got a label to use as reference)
As it appears to be, I can't put the figure environment inside a table, because they are incompatible. But this is the only way I know for later referencing inside the text.