Is there a way to convert strings representing numbers (in scientific format) to numbers in gnuplot. I.e.
stringnumber="1.0e0"
number=myconvert(stringnumber)
plot [-1:1] number
I search myconvert possibly using shell commands.
You can add 0 to the string:
stringnumber="1.0e0"
number=stringnumber + 0
plot [-1:1] number
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With