I have a 2-D scatter plot and at the origin I want to display an image (not a colorful square, but an actual picture). Is there any way to do this?
I also will be plotting a 3-D sphere in which I would like an image to be displayed at the origin as well.
For 2-D plots…
The function IMAGE is what you’re looking for. Here’s an example:
For 3-D plots…
The IMAGE function is no longer appropriate, as the image will not be displayed unless the axis is viewed from directly above (i.e. from along the positive z-axis). In this case you will have to create a surface in 3-D using the SURF function and texture map the image onto it. Here’s an example:
Note that this surface is fixed in space, so the image will not always be directly facing the camera as you rotate the axes. If you want the texture-mapped surface to automatically rotate so that it is always perpendicular to the line of sight of the camera, it’s a much more involved process.