# 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.

201 questions
Filter by
Sorted by
Tagged with
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 ...
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 ...
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 ...
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 -> &...
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 ...
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 ...
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 ...
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'...
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 ...
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 ...
676 views

### LogPlot does not show all points

LogPlot ignores points which are going to "too high" values: ...
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 ...
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 ...
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): ...
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 ...
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: ...
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 ...
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 ...
49 views

### How can I use ListLogLinearPlot to plot wildly different functions?

I have two sets of points I need to ListLogLinearPlot plot: ...
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: ...
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 ...
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 ...
46 views

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 ...
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 ...
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. <...
35 views

### LogLinearPlot problem with plotrange

i have this equation ...
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. ...
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 ...
47 views

### ListLogPlot with uncertainties in both coordinates

I have a dataset like this: ...
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 ...
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 ...
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? ...
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. ...
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 ...
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 ...
36 views

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

Using the following code, ...
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 ...
32 views

### ColorFunction for LogPlot (and its cousins)

I have a ColorFunction that I use to color a Plot, with the option ...
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. ...