Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

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.


  • 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.