From: Jaime E. V. <vi...@us...> - 2025-07-08 19:32:52
|
- **status**: open --> closed - **Comment**: Fixed with commit [a47f86]. the command: ~~~ plot2d (sin, [x, 0, 1],[gnuplot_term,dumb], [gnuplot_dumb_term_command,"set term dumb 140 60"]); ~~~ Now works as expected. Notice that you don't need to change the plot_format to gnuplot, because that's done automatically when gnuplot_term is 'dumb'. Also, if you preferrred to use global plotting options, you could do the following: ~~~ set_plot_option ([gnuplot_term,dumb], [gnuplot_dumb_term_command,"set term dumb 140 60"])$ plot2d (sin, [x, 0, 1])$ ~~~ In a single set_plot_option command you can set several options. --- **[bugs:#4354] gnuplot_dumb_term_command causes "set term dumb" to be ignored ** **Status:** closed **Group:** None **Labels:** plotting plot2d gnuplot **Created:** Mon Aug 26, 2024 07:31 PM UTC by Robert Dodier **Last Updated:** Mon Aug 26, 2024 07:48 PM UTC **Owner:** nobody ``` set_plot_option ([plot_format, gnuplot]); set_plot_option ([gnuplot_term, dumb]); plot2d (sin, [x, 0, 1]); ``` shows a plot on the console as expected. However, ``` set_plot_option ([plot_format, gnuplot]); set_plot_option ([gnuplot_term, dumb]); set_plot_option ([gnuplot_dumb_term_command, "set term dumb 140 60"]); plot2d (sin, [x, 0, 1]); ``` causes `set term` to be omitted from the Gnuplot commands entirely, as shown by inspecting the Gnuplot output file. A workaround is to say `set_plot_option([gnuplot_postamble, "set term dumb 140 60"])`. --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |