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

MathGroup Archive 2007

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

Search the Archive

Re: plot question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72719] Re: plot question
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Tue, 16 Jan 2007 03:31:41 -0500 (EST)

On 1/15/07 at 5:35 AM, dimmechan at yahoo.com (dimitris) wrote:

>Consider the following graph of the function -ln(|x|).

>Plot[-Log[Abs[x]], {x, -2, 2}, PlotRange -> {Automatic, {-1, 3.5}},
>Axes -> False, Frame -> True, PlotPoints -> 100, FrameLabel -> {"x",
>"y"}]

>How is it possible to make the y-axis point downwards (I need this
>because in half-space problems within the solid mechanics the
>possitive vertical axis is pointed into the half-space)?

I am not sure I understand what you mean by "make the y-axis 
point downwards". I am guessing you want the increasingly 
positive tick values to appear toward the bottom of the page. If 
I have this right perhaps you will find the following satisfactory

Plot[-Log[Abs[x]], {x, -2, 2}, PlotRange -> {Automatic, {-1,
    3.5}}, Axes -> False, Frame -> True, PlotPoints -> 100, 
FrameLabel -> {"x",
    "y"}, FrameTicks -> {Automatic, Transpose[{
     Range[0, 3], Range[3, 0, -1]}], {}, {}}];
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Derivative recurrence
  • Next by Date: Re: Trouble with reading from file
  • Previous by thread: Re: plot question
  • Next by thread: Re: plot question