Message Boards Message Boards

Logarithmic step sizes in Manipulate/ListPlot

Posted 9 years ago

I feel like I'm trying to do something very basic that has a well-known solution. However, after hours of searching Community and the web I haven't been able to find a basic answer. I'm trying to control the step size in functions like Manipulate and ListPlot such that the step size increases/decreases logarithmically between the bounds that I set as my end points. Does Mathematica have a built-in feature that does this? Does anyone have an algorithm that can be placed in the step-size that will do this?

Ex//

Manipulate[
L
{{L, 10^-9, Style["L", FontSize -> 16, FontFamily -> "Times"]},10^-11,10^-7,(**Log step size**), ControlType -> Slider, ImageSize -> Medium, Appearance->"Labeled" }
]
POSTED BY: Tim Kirkpatrick
2 Replies
Posted 9 years ago

Would something like this help?

Manipulate[
 Log@L, 
 {{L, 10^-9, Style["L", FontSize -> 16, FontFamily -> "Times"]}, 
  10^-11, 10^-7, ControlType -> Slider, ImageSize -> Medium, 
  Appearance -> "Labeled"}]
POSTED BY: nik tsak
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract