# Questions tagged [logarithmic-scale]

Questions on applying common nonlinear scalings to functions or data--useful for making sense of data which varies over a large range.

181 questions
Filter by
Sorted by
Tagged with
15k views

### How does one set a logarithmic scale in a ContourPlot?

How does one set a logarithmic scale for both x and y axes in ContourPlot in Mathematica?
11k views

### Logarithmic scale in a DensityPlot and its legend

I was recently faced with the task of creating a DensityPlot with a logarithmic colour scale, and with providing it with an appropriate legend. Since I could not find any resources to this effect on ...
9k views

### Making Axes logarithmic in 3d plots

I've been trying to get loglog plots in 3D, but to no avail. My initial approach was to take the logarithm inside the plot i.e ...
2k views

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

In the 2015 Planck satellite results, they give the latest plot of the temperature power spectrum of the cosmic microwave background, which I show below. (I am only interested in the main plot; you ...
3k views

### Thickness of logarithmic tick marks

Bug introduced in 8 or earlier and persisting through 12.0 I'm trying to plot a graph wit a logarithmic y-axis. Since I'm exporting the graph to pdf and later printing it, I want to manually set the ...
1k views

### LogPlot axes labels destroyed when working in high precision

Bug introduced in 7.0 or earlier and fixed in 11.0.0 (I'm using Mathematica 8.) I have a Taylor series: poly = Normal[Series[E^x, {x, 0, 10}]] I want to ...
5k views

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

Bug introduced in 10.0.0 and fixed in 10.1.0 Update: It seems that only versions 10.0.0, 10.0.1, and 10.0.2 are affected by this problem. For 10.0.0 there is no general solution known to me due to ...
4k views

### How can I get exactly 5 logarithmic divisions of an interval?

I'd like to get exactly 5 divisions from x to y on a log scale. Can FindDivisions do this?
3k views

1k views

### How to transpose x and y axes on a LogPlot?

Consider the following simple LogPlot: LogPlot[Exp[x],{x,0,5}] Is there a nice way to switch the axes of a LogPlot? I'm aware that plotting the inverse function ...
3k views

### How to plot logarithmic scales

How can a simple logarithmic number line be drawn between any 2 integer values? The closest function I found in the documentation is LogLinearPlot[] and I've been ...
1k views

### How to plot BarChart with error bars on logarithmic scale in Mathematica 9?

I'm quite new in Mathematica, and I would like to ask you to consider the next case: I need to plot bar chart with error bars on logarithmic scale. From Wolfram site I took the function which allows ...
2k views

### ErrorListLogPlot gives wrong error bars on log scale

From this and this post I learned how to use ErrorListLogPlot and its family to add error bars on top of a list of mean values. However, consider this simple ...
695 views

### Adding graphics primitives to log plots [duplicate]

I am making ListLogLog plots with polygons in the Prolog and lines in the Epilog, and I want ...
120 views

### Flipping axis on a LogPlot

I want to modify the question in Flipping axis on a plot. How to flip y-axes on a LogPlot? In contrast to Plot, LogPlot does not allow for the ScalingFunctions option so that the first solution ...
3k views

### Asymmetric X and Y error bars on ListLogPlot

The wonderful error bar log plots package ErrorBarLogPlots from V6 no longer positions labels correctly (since ...
2k views

### Plot3D with a log scale only along the y-axis

I would like to ask how to make a 3D plot (maybe using Plot3D) with a logarithmic scale along the y-axis? For example: I have a function, $f(x) = 2(1 + a\,x^4)/x^2$, where $x$ varies from 0 to 20 ...
571 views

### How to generate a Log BarLegend for a DensityHistogram

I have a Log count histogram: DensityHistogram[myData, 100, {"Log", "Count"}, ColorFunction -> "Rainbow", ChartLegends -> Automatic] But ...
2k views

### Log-log scale smooth histogram

How can I create a smooth histogram with a log-log scale? I can use Histogram[data, "Log", "LogCount"] to get a log-log histogram, or I can use ...
814 views

### How to label ticks in ListLogLogPlot in scientific form in MMA 10.4?

This is a question regarding ListLogLogPlot in MMA 10.4. I have tried the solutions suggested in 5369, and they do not appear to work in MMA 10.4, so I would be grateful if this could be considered a ...
2k views

### RegionPlot with LogScale

I would like to have my RegionPlot with logarithmic scale in x and y. My code looks like ...
326 views

### Is it possible to have a region plot with logarithmic scales?

How can I have a region plot with the logarithmic axis? In the following, I have brought the original case which I want to be logarithmic. In this case, I have a density plot and a region plot that ...
236 views

### LogLog axes in 3d

I have a function defined in 3D and I want to plot it in such a way that first and third component are in LogLog scale. So if I reduce to 2D I could plot my function using LogLogPlot but I need 3d ...
205 views

### Issue with combining weighted data log histograms

I have a bit of a strange problem. I'd like to overlay 3 different logarithmic Histograms with two of them stacked and one separate [*]. Without weights the solution is simple: ...
132 views

### Half Plot - half LogLinearPlot

Is it possible to do a plot which is partially Plot and partially LogLinearPlot? The reference figure is We see that the $x$-...
301 views

### Why PlotRange doesn't work for this set of values? [duplicate]

This code, doesn't show me data corresponding to x axis values 1000 and 10000 ...
80 views

### DensityHistogram, “Log” plot with specific binning not working in Mathematica12

I have a problem plotting log with specific binning using the DensityHistogram. The following worked till Mathematica 11 but not anymore with Mathematica 12: ...
691 views

### ListLogLogPlot with ErrorBars

I have the following data consisting of x, y pairs and errors of y: ...
711 views

### How to apply multiple scaling functions to the same axis?

I have a parametric plot and would like to display it double logarithmic with one axis reversed. For example how can I get two log axes for this plot: ...
3k views

### Line of best fit on LogLog plot

I have a LogLog plot, and i'm unsure about how to fit a line to it. The data represents a calibration curve. ...
4k views

### How to do the log scale plot for ListContourPlot

My current code is: ...
2k views

### How to draw a Circle in a graph with Log Y Scale

I've programmed drawing tools for graph images and am experiencing a problem with the coordinates of an Ellipse on a graph with a Log Y axis. It's quite easy to work out the Y Axis coordinates for ...
500 views

### Two ways to fit a function on data points

I have the following data: ...
2k views

### How to scale Histogram counts with the value of bin center?

I am analyzing some variates from a steeply falling power-law distribution (approximately with a power index -4) using Histogram[data, Automatic, "PDF"] While ...
256 views

### Specifying WorkingPrecision in LogLogPlot produces invalid plots [duplicate]

I seem to have found a bug with LogLogPlot in Version 10. If I specify a working precision, the function produces total garbage. Here is a simple example. The first ...
3k views

### Histogram with a logarithmic scale for the y-axis

How can I get a histogram with a logarithmic scale only on the the y-axis? With ...
267 views

### Cannot Plot Log

I tried following command and it worked well (you can see the function is positive). ...
303 views

495 views

### Why is LogTicks incorrect?

It is a simple example using CustomTicks package: ...
312 views

### Mysterious behaviour of ParallelTable

This question is related to Export bug in combination with ParallelTable?. The following code shows an even stranger bug than in the upper question. The y-axis should always be logarithmic, but in ...
73 views

### How can I make a NumberLineLogPlot'?

I have a piecewise function that is defined in logarithmic intervals, i.e., the different pieces are defined on ...
107 views

### SystemException with LogLinearPlot

In plotting a function with specific set of parameters using LogLinearPlot, Mathematica throws a ...
255 views

### Show seems to forget 'logness' for Ticks of LogLogPlot

So there is a (List)LogLogPlot I made a few months ago. Now, it turns out the axes I had back then are too small. Now, the creation of these plots costed quite some ...