diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-05-07 00:43:04 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-05-07 00:43:04 -0700 |
commit | fe56d7ed434b80b7a61d8ab50bb0276f9bfb8b92 (patch) | |
tree | 0528714e23cf259ae02e5678cd47a3417ac2d6b9 /remote_plot.c | |
parent | 7dd4ac9418affd518461eab8f8a8ca026a8f2798 (diff) |
2 plots per line instead of 3 because pi have small screen
Diffstat (limited to 'remote_plot.c')
-rw-r--r-- | remote_plot.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |