Menu

#359 New image object

None
closed-accepted
nobody
5
2020-04-12
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.

     
  • Ethan Merritt

    Ethan Merritt - 2019-09-15
    • status: open --> pending-accepted
    • Group: -->
     
  • Ethan Merritt

    Ethan Merritt - 2019-09-15

    Now in the development version as an experimental feature. Compile with -DPIXMAPS

     
  • Ethan Merritt

    Ethan Merritt - 2020-04-12
    • status: pending-accepted --> closed-accepted
     
  • Ethan Merritt

    Ethan Merritt - 2020-04-12

    In version 5.4 as 'set pixmap'

     
  • Riccardo Lombardi

    Hi, after 7 years, i just logged in again just to say a big THANK YOU! Looking forward to use the new feature

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.