# Command Reference

notify(var) Creates a popup box with the given content.
ask(prompt) Returns the entered text.
print(text) Outputs the given text to the screen. Does not require special prefix in Python.
D("3*x", "x") Returns the derivative of the function with respect to the second argument.
$("command") Parses the given text with the Symja library.
Aliases: sym
replace("text", "find", "replace") Returns "text" with all occurrences of "find" changed to "replace".
subs("function", "var", "replace") Replaces all occurrences of "var" with "replace" and solves. Returns the answer or 0.0 if there is no numerical answer.
plot("function") Graphs the given function as if it were typed into a graph window. Uses the graph window bound to the current action.
Aliases: ezplot, graph
plotname("name") Set the window title of the bound graph window.
plotname() Get the name of the plot window.
plotclr() Clears all drawings from the plot window.
Aliases: clearplot, plotclear
plotscale({-1,0,1,2,3}) Scale the graph. Erases content when scaled. Smaller is farther out, larger closer.
drawDot(x,y) Draw a small red dot wherever you tell it.