var('d n')
d = 2; n = 1;
psi(x) = sqrt(2.0/d)sin(npi*x/d)
graph = plot( (abs(psi(x)))^2 , 0, d, figsize=5, axes_labels=['$x$', '$|\psi_{1}(x)|^2$']) (graph).show()
I'm displaying the graph using the above method, but I can't display the origin.
1 | initial version |
var('d n')
d = 2; n = 1;
psi(x) = sqrt(2.0/d)sin(npi*x/d)
graph = plot( (abs(psi(x)))^2 , 0, d, figsize=5, axes_labels=['$x$', '$|\psi_{1}(x)|^2$']) (graph).show()
I'm displaying the graph using the above method, but I can't display the origin.
var('d n')I'm displaying the graph of a function as follows:
d I'm displaying the graph using the above method, but I can't display the origin.
3 | No.3 Revision |
I'm displaying the graph of a function as follows:
d = 2
n = 1
psi(x) = sqrt(2.0/d)*sin(n*pi*x/d)
graph = plot(abs(psi(x))^2, 0, d, figsize=5, axes_labels=['$x$', '$|\psi_{1}(x)|^2$'])
graph.show()
I want to display "o" at the origin. Is there no choice but I can't to display the origin.it in text as shown below?
 text('o', (-1, -1))