Replies: 1 comment
-
Something else I discovered: using "gif" as the output format, gnuplot will close the file automatically. But other non-interactive gnuplot terminals (such as pngcairo) don't. In gnuplot itself, you can use "set output" to flush the file. But backend()->send_command("set output") doesn't work. The only workaround I can find is this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the dashed or dotted line style in a plot, but it seems like this is being ignored by gnuplot. It behaves the same whether I'm using gnuplot 5.4 or 6.0.2, and it doesn't seem to matter what I set GNUTERM to.
I can confirm that in line_spec::plot_string it's adding
dashtype '.'
Line width, color, marker style and color, all seem to work fine.UPDATE: ah, I've confirmed that if I save this as a GIF this way:
...I get solid lines. If I use
matplot_fig->show();
...then I get the specified style. Since my goal is to paint an image on an MFC window inside my own app, not a separate process window, I need to find some way to deal with this...
Beta Was this translation helpful? Give feedback.
All reactions