As of May 31, 2023, we have updated our Code of Conduct.
22 votes
Accepted

Switch from logarithmic to linear scaling partway along a plot's axis

Ok, here's a very brief toy example while I don't have access to my desktop computer at work. It's easy enough to figure out, that a LogPlot of ...
LLlAMnYP's user avatar
  • 11.3k
21 votes

Switch from logarithmic to linear scaling partway along a plot's axis

If you are comfortable using undocumented and unsupported functionality we can do this with a ScalingFunctions option as I did for ListLogLinearPlot for the whole ...
Mr.Wizard's user avatar
  • 267k
18 votes

How does one set a logarithmic scale in a ContourPlot?

As of M11, you can use the ScalingFunctions option: ...
Carl Woll's user avatar
  • 127k
12 votes

Logarithmic scale in an ParametricPlot obtained from ODE boundary conditions

You can use ScalingFunctions. It appears in red but works. ...
Sumit's user avatar
  • 15.8k
12 votes
Accepted

How to set FenceWidth in logarithmic plot?

This is clearly a bug. In addition to the weird fence shape, the scaling behavior is also changed: fence widths change when the plot is resized. A work-around is to post-process the output to ...
kglr's user avatar
  • 364k
11 votes
Accepted

Logarithmic scale in a DensityPlot and its legend

With version 11, you can use the ScalingFunctions in both DensityPlot and BarLegend ...
Jason B.'s user avatar
  • 66.4k
11 votes
Accepted

Adding graphics primitives to log plots

...
Kuba's user avatar
  • 135k
11 votes
Accepted

RegionPlot with LogScale

As someone else here mentioned there are no Log and LogLog versions of RegionPlot, so you ...
Jason B.'s user avatar
  • 66.4k
10 votes
Accepted

Flipping axis on a LogPlot

You can use a custom ScalingFunctions option for Plot instead. For example, here is a log plot: ...
Carl Woll's user avatar
  • 127k
10 votes
Accepted

'symlog'-like Plot with a mixed log-linear-log scale

You may use the ScalingFunctions option which is available for most plotting functions. We need a logarithmic function that passes through zero that we can flip and ...
Edmund's user avatar
  • 40.9k
9 votes
Accepted

How to get grid lines at all (log) tick marks in Version 10?

You can, also, use GridLines -> Full option (in version 10.3, at least): ...
pmsoltani's user avatar
  • 256
9 votes

LogPlot axes labels destroyed when working in high precision

Although Szabolcs warned "I don't think it's worth digging into how LogPlot works, as at this point this clearly seems to be a bug" I thought I would give a go. I found that: ...
Mr.Wizard's user avatar
  • 267k
9 votes

Making Axes logarithmic in 3d plots

You can simply use ScalingFunctions. (It appears red in version 10, but still works.) ...
Sumit's user avatar
  • 15.8k
9 votes

LogPlot does not show all points

The fact that your plot doesn't show "too high" values isn't specific to LogPlot, has nothing to do with the PlotRange ...
Karsten7's user avatar
  • 27.3k
9 votes

Use different markers/colors in logarithmic plot depending on sign

The colors can be determined by the sign separately like this: colors = Sign[yData - 1] /. {1 -> Blue, -1 -> Red}; In order to change the color of the ...
C. E.'s user avatar
  • 69.5k
9 votes
Accepted

Quadratic scaling of axes

Use ScalingFunctions ...
bobthechemist's user avatar
8 votes
Accepted

Use different markers/colors in logarithmic plot depending on sign

You can use VertexColors to color the individual points, since the points are all in a single Point in order. ...
Michael E2's user avatar
  • 228k
7 votes
Accepted

How to change the scale of a ListContourPlot to logarithmic and combine it with a LogLinearPlot

For the first question, you can do this: ...
Michael E2's user avatar
  • 228k
7 votes

Use different markers/colors in logarithmic plot depending on sign

Fundamentally this isn't much different than what you're suggesting, as far as splitting the data into positive and negative parts, ...
N.J.Evans's user avatar
  • 5,013
7 votes

LogPlot axes labels destroyed when working in high precision

neat little work-around, poly[x_] = Normal[Series[E^x, {x, 0, 10}]]; LogPlot[(Abs[E^# - poly[#]] &@N[Rationalize[x, 0], 20]), {x, -1, 1}]
george2079's user avatar
  • 38.7k
7 votes
Accepted

Fitting data in Log-Log scale

...
Sjoerd C. de Vries's user avatar
7 votes
Accepted

Bug in LogPlot reintroduced?

I also had this issue with 11.3.0 on Mac. For me it was easily fixed by enabling 'dynamic updating' in the Evaluation menu (had been disabled due to an earlier evaluation gone wild!)
Bilko's user avatar
  • 116
7 votes
Accepted

ListPointPlot3D log scale axes?

You can use the option ScalingFunctions for this purpose. For instance: ...
Carl Woll's user avatar
  • 127k
7 votes

Rescale y-axis of listplot

You can use the option ScalingFunctions! They're easy to use but a bit tricky to understand. I'll be honest: I don't know what the second function it asks for does, ...
thorimur's user avatar
  • 8,825
7 votes
Accepted

Use custom ticks on FrameTicks on LogLogPlot but preserving the log tick marks

The list of tick marks can be in any order, so all we need to do is append the unlabeled tick marks to the existing list. ...
LouisB's user avatar
  • 12k
7 votes

How to add vertical/horizontal values in a `ListLogLogPlot `?

I still believe that GridLines is convenient. ...
cvgmt's user avatar
  • 54k
6 votes

LogPlot axes labels destroyed when working in high precision

EDIT: Problem persists with Mathematica version "10.3.1 for Mac OS X x86 (64-bit) (December 9, 2015)" THIS IS NOT AN ANSWER but rather an extended comment providing an update for Mma v10.1. In ...
Bob Hanlon's user avatar
  • 143k
6 votes
Accepted

Can't get custom x-axis grid lines for a LogLinearPlot

Your x-axis values are on a log scale, so you need to use Log values for the gridlines. ...
Jason B.'s user avatar
  • 66.4k
6 votes

Labeled destroys the log scales in "log" plots when notebook is re-opened

LogLogPlot plots contain a dynamic objects which when you open the notebook, the security of Mathematica prevents the dynamic objects from being updated. Check this ...
Basheer Algohi's user avatar
6 votes
Accepted

Labeled destroys the log scales in "log" plots when notebook is re-opened

The workaround suggested by Algohi works but it leads to reevaluation of the entire LogLogPlot each time you open a Notebook. The following workaround avoids this: ...
Alexey Popkov's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible