gnuplot
Installation
SKILL.md
Plot data with gnuplot
Plot data from the most recent interaction context using gnuplot. Generate a PNG image with a transparent background and output it as a markdown image so it renders inline.
How to plot
- Extract or derive plottable data from the current context.
- If the Emacs foreground color is not already known from a previous plot in this session, query it:
This returns a hex color likeemacsclient --eval ' (face-foreground (quote default))'"#eeffff". Reuse it for all subsequent plots. - Write a gnuplot script to a temporary file using that color.
- Run gnuplot on the script.
- Output the result as a markdown image on its own line:
