Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica Plot

  1. Sep 19, 2009 #1
    \[Gamma][v_] := 1/Sqrt[1 - (v)^2]
    plot1 = Plot[\[Gamma][v], {v, -.99, .99},
    PlotStyle -> {Thick, RGBColor[0.6, 0, 0]}, PlotRange -> All] \.08
    plot2 = Plot[0, {v, -.99, .99}, PlotRange -> All] \.08
    Show[plot1, plot2, PlotRange -> All,
    AxesLabel -> {"\!\(\*FractionBox[\"v\", \"c\"]\)[]",
    "\[Gamma](\!\(\*FractionBox[\"v\", \"c\"]\))\!\(\*
    StyleBox[\"[\",\nFontColor->GrayLevel[0]]\)\!\(\*
    StyleBox[\"]\",\nFontColor->GrayLevel[0]]\)"}, LabelStyle -> Larger]

    The idea for plot2 was to show the origin. the function has a minimum value of 1 but I want to show the origin. Is there a better way?
     
  2. jcsd
  3. Sep 19, 2009 #2

    Hepth

    User Avatar
    Gold Member

    "plotrange" instead of "all" PlotRange -> {{-1, 1}, {0, 7}}
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Mathematica Plot
  1. Mathematica plotting (Replies: 4)

  2. Mathematica plot (Replies: 1)

  3. Plot in mathematica (Replies: 2)

Loading...