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
0
votes
0answers
47 views

Frame ticks disappear in LogPlot and LogLogPlot — Bug in Mathematica 12.1? [duplicate]

I have this code here: Plot[1/x, {x, 1, 10}, Axes -> True, Frame -> True] It generates this output, as intended: So far so good. But now I want to switch to ...
1
vote
1answer
49 views

How to make the $ y $-axis of a spectrogram logarithmic?

Is there a way to make the $ y $-axis for a spectrogram logarithmic? I couldn't find an option for it and was doing it explicitly. Consider for e.g. the spectrogram of this audio: which after log ...
2
votes
1answer
40 views

Partially log x-axis?

Sometimes using logarithmic scale for x-axis offers greater detail close to x=0 at the expense of loosing some of the details on the rest of your plot. In the following working example one faces a ...
0
votes
0answers
69 views

How can I make density plot from a data (csv) with Log Scales?

I have a data in .csv format and I wish to make a densityplot of the data points but with a log-log scale. I imported the data into Mathematica and used ListDensityPlot with ScalingFunctions -> &...
24
votes
2answers
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 ...
1
vote
0answers
51 views

Custom Scaling Function for ListDensityPlot not working

I'm attempting to plot a data set with values that span multiple orders of magnitude, both positive and negative. I would like to use a logarithmic scaling to accurately capture this order of ...
0
votes
2answers
74 views

LogLogPlot with for negative valued function [closed]

Is there a way to make a LogLogPlot of a negative-valued function? I know that with LogLinearPlot[100 Log[x] Exp[-x], {x, 10^-1, 100},PlotRange -> {-10, 10}] I ...
1
vote
1answer
72 views

General way to make a ListPlot with tick labels restricted to integer values? Likewise for a ListLogPlot with tick labels at simple powers of ten

Suppose I want to make a ListPlot of an XY data set for which all the Y values are integers, with the restriction that the tick labels on the Y axis only take integer values. Make note that it doesn't'...
1
vote
1answer
35 views

Log scaling function ticks not showing

I am using ListLinePlot[] with ScalingFunctions->{None,"Log"} to get a log scale on the Y axis, and a frame. But the ticks on ...
1
vote
1answer
32 views

How can I use the DiscretePlot and LogPlot?

I am really new to mathematica and this will seem very basic, but the two last lines of the code do not work (the two prints work just fine), it gives me the error more input is needed(only for the ...
6
votes
4answers
676 views

LogPlot does not show all points

LogPlot ignores points which are going to "too high" values: ...
0
votes
1answer
83 views

ImageSize of Logplot and LogListPlot

I'm using Show to draw a graph showing a Log Plot and a LogListPlot at once. However, the image size errors come up suddenly after changing the y-axis ranging from 0.01 to 1.0 -> from 0.01 to 1.2. The ...
0
votes
1answer
59 views

Same color scale for logarithmic ContourPlots for comparison

Before I ask the exact question, I would like to add that I know similar questions have been asked multiple times but I have tried several of those techniques but have failed to get the desired result ...
2
votes
1answer
195 views

ListPointPlot3D log scale axes?

I've been trying to get my y and z axes log-scaled on a 3D list Point Plot, for example (test data): ...
0
votes
2answers
67 views

Log Return of data with 0s [closed]

I am struggling with trying to normalise a dataset I have to use for other functions I have created. I have data that range from 0 to 80 000 and I want to transform this data either by making the ...
1
vote
1answer
74 views

Combining plots in Show[] shifts them weirdly [closed]

I have two plots for the same function func1[x_,y_]:= Exp[x]-y. One is plotted in "fake" log-linear manner as: ...
0
votes
0answers
32 views

y-axis not showing for LogLogPlot and LogLinearPlot even if Axes->{True,True} is set

This must be something trivial but I am having a hard time figuring out why it isn't working. I plot: LogLogPlot[{1,4,5},{x,10^(-3),10},Axes->{True,True}] and ...
2
votes
2answers
220 views

'symlog'-like Plot with a mixed log-linear-log scale

Python's matplotlib has the possibility to use a symmetric log (symlog) axis, as demonstrated in the documentation. You can set a negative threshold and positive ...
3
votes
2answers
49 views

How can I use ListLogLinearPlot to plot wildly different functions?

I have two sets of points I need to ListLogLinearPlot plot: ...
0
votes
0answers
40 views

Error while doing ListLogLogPlot

I am using version 11.2.0 for Windows (32-bit) (September 11, 2017) and some strange error shows up when I try to do a ListLogLog plot: ...
0
votes
0answers
30 views

Axes Extending to Infinities with Squiggly symbol [duplicate]

I want to recreate a ListLogLinearPlot with a point at 0 and at infinity. I wish to recreate a logarithmic x-axis that extends to zero and infinity, as seen in the ...
4
votes
0answers
33 views

Does Around work in ListLogLinearPlot?

I would like to create a plot with logarithmic x-axis, where the data has uncertainty in the x value. It's working fine with small negative y values, but when they're below ...
1
vote
1answer
46 views

Missing decades in LogLinearplot

I wanted to display all the decades (from 1 to 10^8 like 1 ,10, 10^2, 10^3 etc) in LogLinearPlot and also tried the solution of why-is-listlogplot-skipping-entire-decades. And my code is something ...
1
vote
1answer
32 views

Arbitrary correspondence between vertical axes

I am doing boxed contour plots of a quantity that depends on two variables. Let's call it f[A,B]. A will go to the lower horizontal axis, and B to the left vertical axis. I would like the two ...
1
vote
1answer
127 views

How to fix the plot Range in list log linear plot

I have 8 plots, and all these plots are generated using ListLogLinearPlot function. and later I have used Show command put all plot in one single figure, but could not able to fix the plot range. <...
1
vote
1answer
35 views
2
votes
2answers
56 views

Additional tick marks in a LogLogPlot

In the following mwe, I have a loglogplot. I want to display the tick positions where the horizontal and vertical lines meet the axes. ...
2
votes
2answers
55 views

Marker Size in ListLogPlot

I have trouble with a ListLogPlot using data with error bars. I want to enhance the marker size since otherwise, the data points itself can not be identified very ...
2
votes
2answers
47 views

ListLogPlot with uncertainties in both coordinates

I have a dataset like this: ...
1
vote
1answer
50 views

Controlling range of ListLogLogPlot

I'm having a problem where the following animation jumps around despite having PlotRange set. I don't have this problem with ...
38
votes
3answers
12k 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 ...
0
votes
1answer
149 views

Plot function is showing a wrong result

I'm trying to plot this function, but probably since the numbers are really small it shows a fake plot in log log scale. Is there a way to solve this problem? ...
1
vote
0answers
52 views

Scaling of y-axis in plot

For the following two functions, I would like to highlight the difference in the area of $x\in (1,10)$, while not dropping the rest of the graph. ...
0
votes
2answers
107 views

How to correctly show the slope of a linear part on LogPlot

I need to plot an Interpolation function of one independent variable (only a 3kB file) on LogPlot and show the slope of its linear part together on the ...
1
vote
2answers
113 views

How to fit different parts of a log-log plot

I have data of a function that goes like $f(x)\propto x ^\alpha $ for a certain range of $x$ and like $f(x)\propto x^\beta$ for another one. It is common in the literature to make a log log plot and ...
0
votes
0answers
36 views

How to modify the horizontal ticks in a LogLinearPlot? [duplicate]

Using the following code, ...
2
votes
1answer
74 views

ListPlot3D surface with logarithmic-scale

I'm tring to do a ListPlot3D however I don't get any answer from Mathematica. Furthermore, I'd like to introduce a log scale in the y-axis. Which function could ...
2
votes
1answer
32 views

ColorFunction for LogPlot (and its cousins)

I have a ColorFunction that I use to color a Plot, with the option ...
1
vote
1answer
57 views

log log contourplot

I want to plot my function on the log-log scale. Why this code doesn't work for me? I write the following one, but nothing happens. ...
13
votes
3answers
3k views

Functional defined Ticks of LogLinearPlot does not work

Bug introduced in 10.0 and fixed in 12.0 version 10 $Version "10.0 for Microsoft Windows (64-bit) (June 29, 2014)" Consider three cases in ...
6
votes
1answer
88 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: ...
11
votes
1answer
182 views

How to set FenceWidth in logarithmic plot?

Mathematica 12 introduced a built-in support for logarithmic plots with error bars. A plot with default styling looks as expected: ...
0
votes
1answer
94 views

Increase thickness of joined ListLogLogPlot[] curve

Here is my code: ListLogLogPlot[{{10^1, 10^1}, {10^3, 10^3}}, Joined -> True, PlotStyle -> Thick] The ...
1
vote
1answer
100 views

Three questions to customizing `Ticks` in `Plot`, `LogPlot` and `LogLogPlot`

When making a plot, sometimes I would like to alter the ticks and labeling of the ticks, in particular when doing a LogPlot or ...
6
votes
4answers
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 ...
2
votes
1answer
38 views

Having trouble plotting a logarithmic equation

I want to plot these two logarithmic equations: $\log_{10}x^2 = 6$ $10^{\log_{10}x^2} = 10^6$ $x^2 = 10^6$ $x=\pm 10^3$ This is my code for trying to plot this: ...
-1
votes
1answer
53 views

Why are LogPlot results different to Plot of log results?

I have the following function for which I want to generate a LogPlot for: ...
1
vote
1answer
70 views

Weibull statistics

I have two data sets am interested in finding the weibull modulus and characteristics strength for the two data sets and plotting the data seperately but on the same graph Material (a) 723, 684, ...
1
vote
2answers
184 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 ...
0
votes
1answer
62 views

Inequality in RegionPlot with LogLinear scale

I want to plot a RegionPlot in LogLinear scale. If I try with a simple linear scale, ...

1
2 3 4 5