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 ...
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 ...
18
votes
How does one set a logarithmic scale in a ContourPlot?
As of M11, you can use the ScalingFunctions option:
...
12
votes
Logarithmic scale in an ParametricPlot obtained from ODE boundary conditions
You can use ScalingFunctions. It appears in red but works.
...
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 ...
11
votes
Accepted
Logarithmic scale in a DensityPlot and its legend
With version 11, you can use the ScalingFunctions in both DensityPlot and BarLegend
...
11
votes
Accepted
11
votes
Accepted
RegionPlot with LogScale
As someone else here mentioned there are no Log and LogLog versions of RegionPlot, so you ...
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:
...
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 ...
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):
...
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:
...
9
votes
Making Axes logarithmic in 3d plots
You can simply use ScalingFunctions. (It appears red in version 10, but still works.)
...
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 ...
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 ...
9
votes
Accepted
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.
...
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:
...
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,
...
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}]
7
votes
Accepted
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!)
7
votes
Accepted
ListPointPlot3D log scale axes?
You can use the option ScalingFunctions for this purpose. For instance:
...
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, ...
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.
...
7
votes
How to add vertical/horizontal values in a `ListLogLogPlot `?
I still believe that GridLines is convenient.
...
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 ...
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.
...
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
...
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:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
logarithmic-scale × 265plotting × 212
ticks × 24
graphics × 21
histograms × 15
list-manipulation × 14
bugs × 14
fitting × 13
scaling × 13
color × 8
legending × 8
differential-equations × 6
probability-or-statistics × 6
warning-messages × 6
labeling × 6
functions × 5
regions × 5
data × 5
charts × 5
interpolation × 4
matrix × 3
numerical-integration × 3
dataset × 3
style × 3
performance-tuning × 2