simple math on fityk

26 views
Skip to first unread message

Nader Amadeu

unread,
May 21, 2025, 2:50:59 PMMay 21
to fityk-users
Hi,    I am new to fityk!

Wanna restric plot range, need to set values first. Pls correct this:

$signal_starts = -100
$signal_ends =  100
# now add margins left and right from signal in the plot
$margin = 0.2 * ( $signal_ends - $signal_starts)
$plot_starts = min (X,  ($signal_starts - $margin)  )
$plot_ends = max (X,  ($signal_starts + $margin)  )

.... SXNTAX ERROR on last 2 commands

How would you do that?

Thanks!

Fityk 1.2.3 on Linux (debian repo)
Reply all
Reply to author
Forward
0 new messages