0
$\begingroup$

Is there a way of plotting Log [1/x] from a Log [x] function?

I'm plotting this:

Plot[{lnKpexp, lnKpest}, {T, 200, 1600}, PlotRange -> {-100, 0}, 
 AxesOrigin -> {200, -100}, PlotStyle -> {Red, {Dashed, Blue}}]

enter image description here

where lnKpexp and lnKpest are Log functions.

I want to linearize it.

$\endgroup$
2
  • $\begingroup$ Could you give us definitions for your two functions? Without them your question is ambiguous. $\endgroup$
    – m_goldberg
    Commented Jul 23, 2017 at 15:16
  • 1
    $\begingroup$ Are you talking about using the identity, Log[1/x]=-Log[x]? $\endgroup$ Commented Jul 23, 2017 at 18:37

2 Answers 2

1
$\begingroup$

In recent versions I believe that ScalingFunctions will do what you want, though undocumented:

Plot[7 + Log[3 x], {x, 200, 1600}, ScalingFunctions -> {Identity, {Exp, Log}}]

enter image description here

$\endgroup$
1
$\begingroup$

This is more a comment on Mr.Wizard's answer than an answer.

I think Mr.Wizard is answer is likely correct, but my interpretation is that the OP is really looking for a different scaling, something like

Plot[Log[1/(3 x + 1)], {x, 200, 1600}, 
  ScalingFunctions -> {None, {Exp[-#] &, -Log[#] &}}]

plot

Also, the technique is not completely undocumented; a relevant example can be found under ref/Plot > Options > Scaling Functions. It is the 3rd example from the bottom of the section.

$\endgroup$
1
  • $\begingroup$ See my comment posted as an another answer. $\endgroup$
    – m_goldberg
    Commented Jul 23, 2017 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.