Yes, you just need to account for x being unitless and to make the function you want to plot unitless as well. example maxima beam.sm(62.36 KiB) downloaded 945 time(s).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9