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

Mathematica- adjusting FrameTicks option

  1. Jul 5, 2012 #1
    Hi

    I want to plot the data in Mathematica

    Code (Text):
    data={{0.608, 0.05}, {0.43, 0.1}, {0.304, 0.2}, {0.248, 0.3}, {0.215,
      0.4}, {0.192, 0.5}}
    I am trying to use ListLinePlot. The problem does not say to use any particular command.
    But I chose ListLinePlot.... Here is the code I am using.

    Code (Text):
    ListLinePlot[data, InterpolationOrder -> 3,
     Frame -> True, PlotRange -> {0.01, 0.505}, ImageSize -> 450,
     FrameLabel -> {{"P (Martian atm)", None}, {"V (Martian L)", None}},
     FrameTicks -> {{{0.1, .2, .3, .4, .5}, Automatic}, {Automatic,
        Automatic}}]
    the output I get is shown in output.jpg

    But I need the output as shown in correct.jpg...

    So how do I modify my program. This is a problem from Patrick Tam's book on mathematica.
     

    Attached Files:

  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Mathematica- adjusting FrameTicks option
  1. In mathematica (Replies: 4)

  2. Mathematica Sums (Replies: 6)

  3. Mathematica NDSolve (Replies: 27)

Loading...