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.

165 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?
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 ...
57 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? ...
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 ...
69 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 ...
272 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 ...
264 views

How can I add callouts to a LogLogPlot and control their positioning?

I made this plot ...
56 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}]
65 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: ...
229 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 ...
94 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 ...
129 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-...
93 views

How do I plot a logarithmic function and a normal one in the same graph(2D) [closed]

It's a really simple question. I want to plot x^2 and the log of x^2 in the same graph. I'm really new to Mathematica so I'm sorry if it's a dumb question
47 views

Logarithmic Scale on combined graphics of a NonlinearModelFit and ErrorLogLogPlot

I do fit a function from a dataset which I need to display in a LogLogPlot in order to make it display as linear. I do also need to overlay an LogLogErrorBarPlot so they show together in one graphic - ...
105 views

SystemException with LogLinearPlot

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

LogScaled BarLegend for Density Histogram

I am plotting DensityHistograms with a logscaled y-axis with this code: ...
651 views

Table with the logarithmic step

Suppose some function y[x]. I need to calculate the table of the value of this function with the logarithmic step of the coordinate, i.e., the operation which corresponds to the Mathematica's command ...
856 views

ListDensityPlot with logarithmic scale

I can't figure out how to make ListDensityPlot with both logarithmic coloring and logarithmic scale on both x and y axis. Logarithmic scale in a DensityPlot and its legend This question worked for ...
422 views

Two ways to fit a function on data points

I have the following data: ...
538 views

Help to change the base in this LogLog Graph

people :) i have this graph in Mathematica the function mumas[y] its defined by ...
187 views

LogPlot Problem

I have this code but I don't know how can I put the y-axis in a logarithmic form (I need to put it in a base 2 logarithm and in the default Log of mathematica), because there is an incompatibility ...
93 views

ListContourPlot in Log scale

I am making a ListContourPlot but want the y-axis in the log scale. I almost got everything from the thread How to do the log scale plot for ListContourPlot. But there both the axes are put to Log ...
842 views

Interpolate on log scale

I have data in Mathematica that comes from y-log scale ...
140 views

How do I control the ranges in plots made with LogLogPlot

I have two graphs (Out and Out), both made with LogLogPlot. For some reason, I can't see the lower part in those graphs, the third graph (Out) shows ...
228 views

How to rescale the axis on a graph to make it more readable

I am currently trying to plot an implicit function of the form $f(x,y) = 0$ in mathematica. The example I am using is $f(x,y) = y^4 - 730 y^2 + x^4 + 3y^2 x^2 - 675 x^2 + 729$ However the function ...
136 views

Using PlotRange with ListLogLinearPlot

ListLogLinearPlot does not seem to respond to the PlotRange option. For example, this code: ...
127 views

ListLogPlot does not show vertical line

I was trying to plot a vertical line using ListPlot everything works perfectly: MassPeaks = {{9.1, 0}, {9.1, 2}}; ListPlot[MassPeaks, Joined -> True] However, ...
333 views

How do I plot Log [1/x] from Log [x]?

Is there a way of plotting Log [1/x] from a Log [x] function? I'm plotting this: ...
235 views

Cannot Plot Log

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

Plotting of an error estimate of NDSolve

So, in an earlier post, (see here), I asked a question regarding a surface of section for a system of coupled non-linear ODEs. What I am after now, is the numerical precision of the results I get back....
273 views

Transformation of values on $x$ and $y$ axis for a LogLogPlot

I have been puzzled by the following issue: When I am using LogLogPlot, while the graph of the function is transformed into the corresponding logarithmic ...
393 views

Why don't the values of Log[10, x] on the y-axis of a log plot of a list x-values? [closed]

I evaluated Log[10, {list}], where list is a list of reals. I also evaluated ...
643 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 ...
410 views

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

Bug introduced in 10 or earlier and fixed in 11.1 While testing this pdf export bug caused by Labeled, I noticed that this function also destroys the log scales in ...
239 views

How to get grid lines at all (log) tick marks in Show function and why losing AxesLabel?

This question was inspired by How to get grid lines at all (log) tick marks in Version 10?, which I was trying to follow to solve my problem. I am trying to plot together, in a ...
121 views

ListLogPlot with negative errorbars

So I have been reading Plotting Error Bars on a Log Scale on how to implement errorbars with a logarithmic y-scale but I have another problem: some of my errorbars are negative values and I don't know ...
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?
101 views

how to create a vector that has a fixed number of points per decade? [duplicate]

How do I create a frequency vector that increments the step size as a percentage of the previous step size? For example, if I wanted to create table, and wanted to span 4 decades with 100 point in ...
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 ...
168 views

Bug in LogLinearPlot? Mathematica v11.0

Bug introduced in 11.0 and fixed in 11.0.1 I'm trying to plot a sequence of functions. I wrote the code in two seemingly equivalent ways, but it produces different results. First method: ...
215 views

How to plot DensityHistogram in Log scale

My question is related to that question in this link How: 2D scatterplots with quantitative density-dependent coloring So how to make the following Density Histogram plot in log scale ...
454 views

Why is LogTicks incorrect?

It is a simple example using CustomTicks package: ...
239 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 ...
220 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 ...
460 views

Contour plot of the imaginary portion of a function given the real part is positive

How do I plot the imaginary part of the function while its real part is positive? For example, for the below code I could have the imaginary part but I am not able to find the positive or negative ...
113 views

How to scale a plot to show that equations are not constant? [duplicate]

I am plotting three equation Plot[{x/100, x/80, (5 (400 + x))/10000}, {x, 0, 1}] for $0\leq x\leq 1$ The problem is that the plot shows these equation as if ...
283 views

...
218 views

Plotting curves in 3D with different scales on different axes

I want to plot 1D functions in 3D using LogLog scale. So suppose I have 1D equation for a function like $y=x^2$ and I want to label it by an additional number $z=1$. The second function could be \$y=x^...