# Questions tagged [scaling]

The tag has no usage guidance.

106 questions
Filter by
Sorted by
Tagged with
35 views

### Heatmap resolution issues

I am trying to plot a heatmap from the following code. I have a problem where the colour seems to stop before reaching the corners. Please can someone help me to make the colour run all the way to the ...
1 vote
74 views

### How to match sizes of objects among several Graphics outputs?

I want disks of equal size to be depicted the same size on different outputs of Graphics and at the same time images should be nicely clipped without any ...
1 vote
85 views

### How to scale x-axis logarithmically in ListPlot? [closed]

I am trying to generate a ListPlot, where both the x- and y-axes are logarithmically scaled. I managed to get the y-axes right, but I cannot get the x-axes to be logarithmically scaled. ...
46 views

### Inverting y-axis with customized ticks

Consider the following tick-styling function ...
63 views

### Why does FourierSequenceTransform of Cosine result in amplitude of 1/2?

Can anyone explain why my results with FourierSequenceTransform differ from the values in a table in my textbook? The definition of Discrete-Time Fourier Transform (...
77 views

### How to give a scale bar in microscopy image?

I have a Differential interference contrast microscopy (DIC) image img = Import["https://i.stack.imgur.com/hfEZx.png"] I have made some image adjustment ...
73 views

### Scaling the X axis in numerical solution

I Have numerically solved these two coupled equations, but I need to know how to scale the x-axis in the plot by a factor of (1/20) ...
1 vote
86 views

### Equal space between log2 ticks on x-axis

I have the following set of data: data = {{4, 2, 0.0001}, {8, 3, 0.0001}, {16, 8, 0.0001}, {31, 18, 4}, {63, 31, 8}, {125, 53, 3}, {250, 75, 4}, {500, 88, 2}}; (... 336 views

### The implementation of "SignedLog" Scaling Function of Plot

I recently noticed that the Plot function has a new embeded scaling function SignedLog, which looks like the matplotlib ...
220 views

### PDF export has inaccurate dimensions

Bug introduced in 11.2 or earlier and persisting through 13.0.0 [CASE:4895073] The following code produces a 10x10 grid of numbers, each in a 20x6 mm cell. ...
373 views

The circular arc $$y=\sqrt{1-x^2}\tag{1}$$ becomes the linear function $$y'=1-x'\tag{2}$$ after substitutions $x'=x^2$ and $y'=y^2$. Here I restrict to arguments in the range $[0,1]$. How can I scale ...
60 views

### Scaling y axis and plot

NOW，i plot a graph.I want to make the graph and y axis 10^6 times smaller,making the -5*10^6 to -5 in Y axis,at the same time,the graphy is not change.I'm going to change the vertical coordinate from ...
178 views

### Image Collage with equal-sized labels

I've been trying to make an image collage, where each image in the collage has a text label in the lower-right corner (or wherever really), where the text is all the same size. Can't seem to make it ...
107 views

### Plot a line colored set by value of a different list

I have a model, see code below: ...
66 views

### How to use ScalingFunctions with Graphics ChartElements

How to draw spheres with BubbleChart with a reversed vertical axis? The 3rd example shows the problem (empty plot), likely caused by the transformation, but how to correct it? ...
72 views

...
607 views

### Rescale y-axis of listplot

I'm trying to make a plot that has a lower half of the y-axis going from 0 to 0.9 and an upper half that goes from 0.9 to 1.0. So that this second interval is zoomed. I've tried to do this with ...
1 vote
261 views

### Problem with Scaling Functions

I'm trying to build a BarChart off of a table of discrete data. I would like to use ScalingFunctions. Not working. Here is my ...
175 views

### How can I use a logarithmic ScalingFunctions with ListContourPlot and DataRange? (i.e. no x- and y- inputs given)

There appears to be a bug in plotting, using ListContourPlot with ScalingFunctions->{"Log","Log"} and ...
155 views

### Scaling contour plot according to domain shape/dimension AND bringing labels inside the domain

I am plotting temperature over a rectangular region of length $L$ and width $d$. $L>d$. The output of the contour plot is on a square. (1) Can it be somehow adjusted to reflect the relative ...
723 views

I have to calculate a 2-dimensional radially symmetric distribution from a single projection. I know that InverseRadon should actually do the job, but I get the ...
81 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 ... 1 vote
124 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 ...
231 views

### How to extrude a tapered shape (starting from a previous answer)

I have a shape given by ...
1 vote
551 views

### Custom scaling of x-axis in ListPlot

I'd like to plot a list of the following form with a customized scale data=ConstantArray[1, 1000] The scale of x-axis is kind of non-linear. The first 500 ...
1 vote
118 views

215 views

### Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
1 vote
60 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 ...
148 views

### Does Mathematica 12 scale with gnome display settings?

I currently have Mathematica 11.3, and while I really like the software, windows are too tiny on my laptop. My laptop has a 4K monitor, and I have to manually increase the magnification every time I ...
1 vote
250 views

### Reversing x-axis scale in ListPlot3D

I am trying to reverse the x-axis using ScalingFunctions but it's not working. I have a 3D plot with x, y and z scale in increasing order, but I want the x-axis to ...
237 views

### Plotting tens of thousands of functions together on the same axes

I'm trying to plot a large number of functions together on the same axes. Each of these functions is the result from one iteration of a Monte Carlo simulation. Essentially, I'm varying parameters of a ...
90 views

### How to scale the solution of NDSolve?

I need to scale the numerical result obtained from NDSolve in the x-direction, while the y-direction (function value) remains the same. For example, ...
1 vote
239 views

### How can I get a contour plot with isometric scaling? [closed]

ContourPlot[x^2 == 0.5 (y - 1) y^2, {x, -3, 3}, {y, 1, 3}, Axes -> True, Frame -> False, AxesLabel -> {x, y}, AspectRatio -> 1/3] Mathematica 12 ...
685 views

### Mathematica 12 blurry with High DPI 4k screen [closed]

Same as here. Everything very blurry. Maybe there is any new solution for Mathematica 12 under Windows 10?
490 views

### Exporting image and scale

Let us say I have a plot, for example that one: Plot[x^2,{x,0,5},AspectRatio->5] and I would like to export it as a PDF in such a way that if I print the PDF ...
306 views

...
188 views

### Creating a mesh from a very thin layer

I have the following code which works just fine: ...
187 views

### Common scale for multiple plots

I want to plot an orthographic (as in "drafting" with top, side, and front view) of a complex sinusoid in time. Here's my attempt: ...
1 vote
50 views

### How can consistent scaling of ∧, ∨, etc., be accomplished?

I've added two examples of what the expressions I wish to reproduce look like: Here serves both as a binary operator and as the universal quantifier. I know ...
77 views

### How to get the events and holidays occurred on a list of dates?

I have a list of 100 unix timestamps and I am trying to get all the events occurred on that time. The following code get an abort signal when a has 100 timestamps. Another problem is that when I run ...
104 views

### Increase vertex embedding distances e.g. scale VertexCoordinates

I currently try to make following graph more readable: ...
284 views

### How to use reverse scaling function with error bars?

I have data which I would like to plot along with the corresponding error bars: ...
214 views

### How to scale a vertical quantity (e.g., scaled offset) with the width of a plot?

As stated in the Mathematica documentation, PointSize[d] is a graphics directive which specifies that points which follow are to be shown if possible as circular ...
181 views

### How to preserve scaled circular shapes when combining graphics?

The following code g1 = Graphics[{Thickness[0.01], Line[{{0, 0}, {10, 10}}], Disk[{5, 3}, Scaled[0.1]]}, Frame -> True] produces the following output I then ...
421 views

### Normalizing smoothhistogram curves

I'm looking for a way to get two smooth histogram curves to have the same max height. The plots are usually scaled by area or something, however, the only way I've been able to find that works is a ...
1 vote