I want to plot a function u(x) in gnuplot, the function itself looks like this:
u(x) = (D) * pi * x
plot D = 100.0, u(x) title "A, \
D = 225.0, u(x) title "B"
The function with the parameter D = 100.0 should have a xrange reaching from 0 to 1000 and the plot with the parameter D = 225.0 should have a xrange from 0 to 2000.
I have tried the obvious solution
u(x) = (D) * pi * x
plot [0:1000] D = 100.0, u(x) title "A, \
[0:2000] D = 225.0, u(x) title "B"
This attempt generates three graphs, including a graph with a constant value of 225.0
Best Regards!

