Questions tagged [scaling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
69 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 ...
user avatar
  • 988
0 votes
0 answers
33 views

How to change plot scaling depending on the coordinate?

Consider the following functions: f1[x_] = Exp[-(x/0.0003)^2]; f2[x_] = If[1.08 < x < 1.4, 0.003 Exp[-((x - 1.2)/0.2)^2], 0]; The first one, f1, is peaked at ...
user avatar
  • 3,544
5 votes
2 answers
152 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. ...
user avatar
  • 347
3 votes
1 answer
230 views

Quadratic scaling of axes

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 ...
user avatar
0 votes
0 answers
52 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 ...
user avatar
3 votes
1 answer
100 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 ...
user avatar
  • 941
0 votes
1 answer
61 views

Plot a line colored set by value of a different list

I have a model, see code below: ...
user avatar
3 votes
0 answers
47 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? ...
user avatar
  • 51
0 votes
1 answer
63 views

Plot the tow data in one graph

...
user avatar
  • 35
4 votes
1 answer
362 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 ...
user avatar
  • 171
1 vote
1 answer
117 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 ...
user avatar
  • 129
0 votes
1 answer
107 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 ...
user avatar
2 votes
2 answers
127 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 ...
user avatar
  • 143
12 votes
2 answers
528 views

InverseRadon behaves differently from iradon of MATLAB

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 ...
user avatar
  • 1,245
2 votes
1 answer
49 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 ...
user avatar
1 vote
0 answers
93 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 ...
user avatar
3 votes
1 answer
184 views

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

I have a shape given by ...
user avatar
1 vote
2 answers
296 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 ...
user avatar
  • 373
1 vote
1 answer
76 views

Plotting a function rescaled by a parameter along x axis

I would like to know, how to plot a graph, for example of this function: $f(t)=-\frac{4 \sin \left(\frac{\gamma t}{2}\right)}{\gamma ^2 t}-\frac{4 \sin ^2\left(\frac{\gamma t}{4}\right)}{\gamma }-\...
user avatar
0 votes
1 answer
277 views

QT scaling settings in Mathematica 12.1 on Linux

On my Linux (Manjaro KDE, QT version 5.14.2) machine with 1920 x 1080 screen resolution machine, if I launch Mathematica 12.1 from the terminal using the following commands, the notebook and window ...
user avatar
0 votes
0 answers
69 views

How to change the plot scale?

How to change the top plot so that it looks like the bottom one? I changed the range of X and Y but it always looks the same way. I know, the formula is long :) ...
user avatar
  • 3
1 vote
1 answer
61 views

How to Resize/Rescale a Mesh?

Consider, for example, the mesh given by mesh = VoronoiMesh[RandomReal[10, {6, 2}]] Imagine I want to resize it so that it is framed in the $[0,1]\times [0,1]$ ...
user avatar
  • 4,138
2 votes
2 answers
150 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
user avatar
  • 4,138
1 vote
1 answer
49 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 ...
user avatar
  • 13
3 votes
0 answers
128 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 ...
user avatar
1 vote
0 answers
136 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 ...
user avatar
  • 11
4 votes
2 answers
188 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 ...
user avatar
  • 413
0 votes
0 answers
63 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, ...
user avatar
  • 691
1 vote
2 answers
187 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 ...
user avatar
3 votes
0 answers
643 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?
user avatar
  • 973
7 votes
2 answers
252 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 ...
user avatar
  • 13.6k
7 votes
4 answers
293 views

Cannot overlay, because ListPlot does not draw same X range despite the same PlotRange

...
user avatar
  • 183
3 votes
1 answer
162 views

Creating a mesh from a very thin layer

I have the following code which works just fine: ...
user avatar
2 votes
2 answers
134 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: ...
user avatar
1 vote
0 answers
46 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 ...
user avatar
2 votes
0 answers
61 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 ...
user avatar
  • 519
2 votes
0 answers
104 views

Increase vertex embedding distances e.g. scale VertexCoordinates

I currently try to make following graph more readable: ...
user avatar
  • 677
8 votes
1 answer
240 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: ...
user avatar
  • 83
3 votes
2 answers
166 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 ...
user avatar
4 votes
1 answer
146 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 ...
user avatar
2 votes
1 answer
350 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 ...
user avatar
  • 941
1 vote
0 answers
114 views

How can I force the z-scale of a ContourPlot to plot between (0, 1) if the data is < 1.

I'm plotting reflectivity, transmission and absorption data as a function of wavelength and angle on a ContourPlot. I want all the plots to be between 0 and 1 for comparison. However, some of the plot ...
user avatar
0 votes
1 answer
81 views

Incomplete ellipse due to StreamPlot command

I wrote the following in Mathematica code but the result was not the expected. As you can see it seems like just half of an elipse is there, what can I do to see the complete elipse? ...
user avatar
3 votes
1 answer
185 views

Different intervals in 3D plot of multiple surfaces

I'm coming from R --hoping for better 3D graphs. I have the following code and graph: ...
user avatar
2 votes
1 answer
874 views

surfaces are being cut off

I read this, that and some others. However, I could not get it why some of my surfaces are being cut off (probably due to scaling). Here is what I have: ...
user avatar
1 vote
1 answer
370 views

Extracting scaling factor and rotation angle from TransformationFunction

I have successfully transformed two 2D data sets (data1, data2) by using ...
user avatar
  • 11.3k
4 votes
3 answers
490 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 has ...
user avatar
  • 117
1 vote
0 answers
59 views

Getting the scaling right when printing to pdf

I have created a report in Mathematica containing Datasets, charts, plots and text. It looks nice on my screen, but everything becomes too large when I print it to PDF. How can I make everything ...
user avatar
  • 133
2 votes
1 answer
320 views

Rescaling ColorFunction for Heat Maps

I've been looking around example of rescaling color gradients but I couldn't find any workable solution for my system. I'm importing several .dat files and want to represent similar data with similar ...
user avatar
  • 21
0 votes
1 answer
149 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-...
user avatar
  • 1