MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Graphing y = x^(1/3)

  • To: mathgroup at
  • Subject: [mg71991] Graphing y = x^(1/3)
  • From: "Elizabeth" <eappelbaum at>
  • 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


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.

  • Prev by Date: Unexpected operator error in Linux
  • Next by Date: Re: General--Mathematica and Subversion
  • Previous by thread: Unexpected operator error in Linux
  • Next by thread: Problem with text rendering on Linux.