MathGroup Archive 2007

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

Search the Archive

Re: plot question


Thanks Bill.

Dimitris

Bill Rowe wrote:
> 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: Convolution Integral
  • Next by Date: si binary unit prefixes
  • Previous by thread: Re: plot question
  • Next by thread: Thanks