Re: image or rgbimage plots with zero decorations

Dima Kogan <[email protected]> Fri, 04 Apr 2025 16:14:02 -0700
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
Ethan A Merritt <[email protected]> writes:

> I would have thought the heart of it would be
>     set autoscale noextend 
>     set margins 0,0,0,0

Oh wow. That actually does 99% of what I want. Thank you!

The extra 1% is probably a bug: I have this script:

  set margin 0,0,0,0
  unset xtics
  unset ytics
  set terminal png size 1027,1035
  set output "/tmp/tst.png"

  plot "/tmp/input.png" binary filetype=png with rgbimage notitle

where the requested png size is the dimensions of /tmp/input.png. If I
look at the input and output side by side, I see the image shift by 1
pixel in each direction.

Thanks for the suggestion.


_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta