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.

Filter by
Sorted by
Tagged with
44
votes
4answers
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?
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
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? ...
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
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 ...
3
votes
1answer
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 ...
4
votes
2answers
264 views
1
vote
0answers
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}]
3
votes
1answer
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: ...
0
votes
2answers
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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-...
-1
votes
1answer
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
0
votes
0answers
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 - ...
4
votes
1answer
105 views

SystemException with LogLinearPlot

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

LogScaled BarLegend for Density Histogram

I am plotting DensityHistograms with a logscaled y-axis with this code: ...
0
votes
1answer
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 ...
0
votes
2answers
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 ...
5
votes
1answer
422 views

Two ways to fit a function on data points

I have the following data: ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...
1
vote
0answers
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 ...
4
votes
2answers
842 views

Interpolate on log scale

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

How do I control the ranges in plots made with LogLogPlot

I have two graphs (Out[45] and Out[47]), both made with LogLogPlot. For some reason, I can't see the lower part in those graphs, the third graph (Out[51]) shows ...
3
votes
3answers
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 ...
2
votes
2answers
136 views

Using PlotRange with ListLogLinearPlot

ListLogLinearPlot does not seem to respond to the PlotRange option. For example, this code: ...
1
vote
1answer
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, ...
0
votes
2answers
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: ...
4
votes
4answers
235 views

Cannot Plot Log

I tried following command and it worked well (you can see the function is positive). ...
0
votes
1answer
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....
3
votes
1answer
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 ...
0
votes
1answer
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 ...
7
votes
1answer
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 ...
11
votes
2answers
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
17
votes
5answers
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?
0
votes
1answer
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 ...
30
votes
4answers
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 ...
4
votes
0answers
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: ...
1
vote
1answer
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 ...
4
votes
1answer
454 views

Why is LogTicks incorrect?

It is a simple example using CustomTicks package: ...
4
votes
1answer
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 ...
6
votes
2answers
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 ...
2
votes
4answers
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 ...
1
vote
3answers
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 ...
3
votes
1answer
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^...
5
votes
1answer
669 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: ...
0
votes
1answer
120 views

Problem (or maybe bug) with the SmoothHistogram3D command?

I have a data set in form of {x,y} (I add part of my data set), and I need to calculate the 3D histogram for it, also I need to get -LOG from probability (Z axes). I wrote this code for it. ...