aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-29 05:18:53 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-29 05:18:53 -0700
commit6bb3f552f0572057dd307c967251e2a0841f3530 (patch)
tree8f7310925cf8f5e4337470afbdc916c839ff88e4 /remote_plot.c
parente15bf447a2fa5299f97aef65ba7f1ac4f6a9a9bf (diff)
set x axis label 10 digits
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/remote_plot.c b/remote_plot.c
index ee8b577..201b49c 100644
--- a/remote_plot.c
+++ b/remote_plot.c
@@ -454,6 +454,10 @@ static void draw_function (GtkDrawingArea *area,
plstar(1,plot_counts);
pl_cmd( PLESC_DEVINIT, cr );
+ // 10 char unix time: 1745925459
+ // set numbers of digits to display x axis labels
+ plsxax(10,0);
+
for(int i=0;i<(VOLTLEN+TEMPLEN);i++)
{
if(active_checkbutton[i])