From fe56d7ed434b80b7a61d8ab50bb0276f9bfb8b92 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 7 May 2025 00:43:04 -0700 Subject: 2 plots per line instead of 3 because pi have small screen --- remote_plot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote_plot.c') diff --git a/remote_plot.c b/remote_plot.c index 99cb4b9..f6dc18e 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -583,8 +583,8 @@ static void draw_function (GtkDrawingArea *area, plspal1("cmap1_gray.pal", 1); // Initialize plplot - if(plot_counts>3) - plstar(3,(plot_counts+2)/3); + if(plot_counts>2) + plstar(2,(plot_counts+1)/2); else plstar(1,plot_counts); pl_cmd( PLESC_DEVINIT, cr ); -- cgit v1.2.3-70-g09d2