#359 New image object

open
nobody
5
2014-07-30
2013-03-29
No

I make an intensive use of objects and labels, because i often need to make series of similar plots with common objects and similar formatting. Labels and objects allow me to do some kind of formatting over the plots (labels with name of the document, name of the plot, number of the plot, etc..). I would find very useful if I could do the same with images, so one could put the same image (i.e. logo) in every plot.

I know there's already a plotting style for images, but this would be a totally different approach, and would let you put repetitive images in subsequent plots. And btw, the image plotting style is unuseful if you need to put a logo outside the plotting area.

The instruction would be something like this:
set object <index> image "filename.png" <positioning options="">

Thanks and best regards

Discussion

  • Ethan Merritt
    Ethan Merritt
    2013-04-08

    This would be hard to implement using the existing code, since the image pixels are stored as individual data points in the plot structure.

    On the other hand, you can already use multiplot to create one "real" plot of your data and one or more "image only" plots with no axes, labels, etc but located wherever on the page you like. That sounds close to what you are asking for.