Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

5
votes
2answers
581 views

ListLogLogPlot with ErrorBars

I have the following data consisting of x, y pairs and errors of y: ...
1
vote
2answers
28 views

How to get a 3D plot with logarithmic scale on x axis?

Let's say I want to plot a function $f(x,y)= x^3 y^3 + e^{-x}$ using 3D plot; x runs from 0.00001 to 0.1 and y runs from 1 to 100. Now, I want to have a logarithmic scale along the x-axis. So, how to ...
1
vote
0answers
26 views

Logarithmic scale in the legend of a GeoRegionValuePlot

Is there a way to make the bar legends show the values 1 to 9000 using a logarithmic scale than what Mathematica is automatically giving me? Here's my plot: The data I am using: ...
1
vote
1answer
287 views

Bug in LogPlot reintroduced?

Running the first example LogPlot[x^x, {x, 1, 5}] from the LogPlot documentation I get a plot without ticks highlighted in ...
1
vote
2answers
266 views

How to change List Contour Plot to log log scale?

I would like to draw a ListContourPlot in Log Log scale as well as bar legend. But I have no idea about how to do it. Could anyone help me to draw the plot in Log Log scale? ...
18
votes
1answer
2k views

Thickness of logarithmic tick marks

Bug introduced in 8 or earlier and persisting through 11.3 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 ...
7
votes
1answer
89 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 ...
2
votes
1answer
34 views

Nuances of Drawing Vertical Lines on a Log Plot

I'm trying to draw a vertical line on a LogPlot using Epilog. There is a slight issue in the vertical positioning of the line. ...
0
votes
0answers
28 views

Using ErrorBars with ListLogPlot in Mathematica 11 [duplicate]

I am trying to insert error bars in a plot with a log scaled y-axis with ...
1
vote
1answer
45 views

Region plot in Log scale without affecting mesh functions

How can I do a region plot with its mesh function in Log scale? For example, ...
7
votes
1answer
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 ...
2
votes
1answer
84 views

How to have two different scaled graphics on a plot? [duplicate]

I have two datasets on a ListPlot, but they have very different ranges. What I want to have is something like this. I also want to know if it is possible to frame ...
3
votes
1answer
70 views

RegionFunction doesn't work in ListContourPlot if also using ScalingFunctions

I am making a contour plot out of a list of values of the form {{x1,y1,f1},{x2,y2,f2},…} I want to plot this on a log log scale so I specify ...
2
votes
1answer
102 views

Combining Multiple Contour Plots with Different X, Y, and Z Ranges

I am trying to calculate the differences in natural frequencies between two different dynamic models, and I would like to plot these error contours in terms of ues (...
0
votes
2answers
62 views

Scaling a LogPlot to better show its minimum

I've got a function. I want to scale the X-axis in a weird way. I want value of h = 10^-4 to appear in the middle of X-axis. In my plot, shown below, we can't see ...
1
vote
1answer
75 views
2
votes
2answers
90 views

BodePlot with magnitude in db or log scale

I have to plot a BodePlot with magnitude in db or log, but i could not find the option for setting the magnitude scale. ...
0
votes
1answer
35 views

Getting an empty LogLogPlot

Consider s[t_] := Exp[-t^2] Sin[5 t] sf[w_, n_] = FourierTransform[Exp[-t^2] Sin[n t], t, w]; Then ...
2
votes
1answer
66 views

Is it possible to have histogram in LogLog scale?

Histogram[data,"Log"] will generate an histogram with a log scale on the x axis, but I need a ...
2
votes
1answer
46 views

Bad interaction between options Joined and PlotRange when using ListLogLinearPlot

I am trying to plot data using the ListLogLinearPlot. Here is my initial code: ...
1
vote
1answer
48 views

ListLogLogPlot origin issues and numerical instability

I have the following long functions f1and f2 dependent on parameters ω and ...
1
vote
2answers
311 views

How can I do a “linear” fit on a log log plot

I have plotted some data with a log scale on both axes as shown in the image below. I want to be able to fit this data such that the fit appears as linear on this log-log plot but I haven't been able ...
0
votes
0answers
37 views

Logarithmic solution of the matrix differential equation

I am looking for a solution of the matrix ODE $$\dot{\mathbf{x}}(t) = \mathbb{A} \,\mathbf{x}(t),$$ where $\mathbf{x}(t)$ is a vector and $\mathbb{A}$ is a matrix. I am curious if it is possible to ...
1
vote
1answer
37 views

How to avoid initial large number evaluation in LogLogPlot

If you run this: LogLogPlot[Echo[x], {x, 10000, 100000}, WorkingPrecision -> 10] You will see the first evaluation point is at a very very large number ...
1
vote
1answer
102 views

Different scale for different parts of coordinate axis Y

I have a list of points, like: {{0,2.17},{1,1.07},{2,0.53},{3,0.25},{4,0.11},{5,0.03},{6,0.002},{7,-0.015},{8,-0.0227},{9,-0.0250}, {10,-0.024675}, {part tends to zero}} Ok, I would like to plot ...
3
votes
1answer
139 views

Log transformed histogram distribution

Bug introduced in 11.0.1 or earlier and persisting through 11.3.0 or later I try to get a Log transformed histogram data I get from a different program ...
0
votes
0answers
114 views

ListDensityPlot with Logarithmic plotlegends and ScalingFunctions

With Mathematica 11.3. (11.0 has some bug in ScalingFunctions). I use Jason B.'s method, i.e. ScalingFunction ( see Logarithmic scale in a DensityPlot and its legend). Jason B.'s code ...
0
votes
1answer
43 views

How to combine 3D figure with LogLogPlot to produce 2D figure

I have (x,y,z) set of data and I want to combine 3D figure with LogLogPlot and to produce 2D figure ...
0
votes
1answer
174 views

Logarithmic scaling in a density plot [duplicate]

I think the colors will be more distinguishable with the logarithmic scales. How can I do it for the following plot? Thanx. ...
1
vote
0answers
26 views

ContourLogLinearPlot [closed]

Title says it all: how can I do a ContourPlot with a logarithmic $x$-axis? I am attempting to replicate the graph of ISO 226:2003 (see first image) but ...
5
votes
2answers
283 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 ...
2
votes
3answers
99 views

LogLinearPlot and Plot combined

I'd like to plot Abs[s]/λ - 1 + Log[λ/s] as a function of $s > 0$, for some fixed value for $\lambda$, say 0.1. This function behaves essentially linearly ...
1
vote
1answer
150 views

Mathematica 11.3 ListLogPlot gives strange error [closed]

Trying to make a very simple Log plot with Mathematica 11.3 on Ubuntu 17.10 ...
3
votes
1answer
70 views

Set a correct scale for a logarithmic graph

I generated a graph from a CSV data which represents T(n), that is, the time taken - in milliseconds - to execute a sort task as ...
44
votes
4answers
14k 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?
4
votes
2answers
2k views

GridLines in LogPlot or LogLogPlot

Suppose I have a plot like LogLogPlot[2 x^5/3, {x,0.1,10}, GridLines->Automatic] How can I achieve to get "custom" gridlines to reduce the number of ...
1
vote
1answer
54 views

Control of SurvivalFunction probability scale

Don't know how to get around this error message:Charting Common Dump Base. Isn't Mathematica supposed to figure it out automatically? ...
8
votes
0answers
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 ...
0
votes
1answer
55 views

Plot has some holes - Show[LogLogPlot[…],LogLogPlot[…]]

I certainly do not use the Plot feature in Mathematica in its whole glory, but it worked out for me, except for one problem. I wanted to show some plots in a log-log-manner and it just won't show the ...
3
votes
1answer
209 views

How to plot RegionPlot in loglog scale?

Consider some function f[x,y]. I need to plot region of values f[x,y]>=1, with normal scaling for y and with log log scaling ...
1
vote
0answers
54 views

log plot problems

Why does the following code give me two different curves? a = 100; b = -0.1; s = a n^b; LogLogPlot[{s, a n^b}, {n, 1000, 1000000}]
3
votes
1answer
61 views

Gridlines in BoxWhisker Chart with Logarithmic Scaling Function

Is there a way to use logarithmically-spaced gridlines in BoxWhiskerChart? I've attempted manually specifying the gridlines as follows: ...
0
votes
2answers
199 views

Taking log derivatives of data in Mathematica

We have two lists (vectors) of data, y and x, we can imagine x being time steps (0,1,2,...) and y some system property computed at each value of x. I'm interested in calculating the derivative of log ...
0
votes
1answer
57 views

LogLogPlot doesn't give log-log scale in both axises

I have a function called $sol[x]$. I want to plot it in LogLog SCALE. I write: LogLogPlot[sol[x], {x, 1, 500}, PlotRange -> Full] but y-axis of the output in ...
0
votes
1answer
124 views

ScalingFunctions scales ChartLegends and not the y-axes

I type in the code: histogram = DensityHistogram[EnergyTable2, ScalingFunctions -> "Log10", ChartLegends -> Automatic] because I want to scale the y-...