Graphing y = x^(1/3)
- To: mathgroup at smc.vnet.net
- Subject: [mg71991] Graphing y = x^(1/3)
- From: "Elizabeth" <eappelbaum at kc.rr.com>
- Date: Thu, 7 Dec 2006 06:25:51 -0500 (EST)
Message 22476 addressed how to graph functions like y = x^(1/3).
Mathematica does not like graphing this function for negative x, and
several methods are proposed. Here is a fast way to get a Mathematica
graph. Instead of the original equation, use the equivalent equation
y^3 = x
which implicitly defines y as a function of x.
First load the implicit function package
Needs["Graphics`ImplicitPlot`"]
Then order the graph
ImplicitPlot [y^3 == x, {x, -5, 5}, PlotPoints -> 50,
PlotStyle -> {Hue[.5]}, ImageSize -> 500, AxesLabel -> {x, y}]
Also, I recommend at the beginning
$TextStyle = {FontFamily -> "Verdana", FontSize -> 12}
This command makes the text on the screen more legible.