Questions tagged [scaling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 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 ...
2
votes
2answers
104 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 ...
2
votes
0answers
56 views

InverseRadon function - possible bug?

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 ...
2
votes
1answer
42 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
0answers
58 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 ...
3
votes
1answer
123 views

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

I have a shape given by ...
1
vote
2answers
67 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
1answer
50 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 }-\...
0
votes
1answer
80 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 ...
0
votes
0answers
52 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 :) ...
1
vote
1answer
37 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]$ ...
2
votes
2answers
88 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
1
vote
1answer
33 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 ...
3
votes
0answers
59 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
0answers
71 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 ...
3
votes
2answers
151 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 ...
0
votes
0answers
44 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
2answers
86 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 ...
3
votes
0answers
460 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?
7
votes
2answers
150 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 ...
7
votes
4answers
278 views
3
votes
1answer
101 views

Creating a mesh from a very thin layer

I have the following code which works just fine: ...
2
votes
2answers
116 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
0answers
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 ...
2
votes
0answers
48 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 ...
2
votes
0answers
101 views

Increase vertex embedding distances e.g. scale VertexCoordinates

I currently try to make following graph more readable: ...
8
votes
1answer
202 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: ...
3
votes
2answers
114 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 ...
4
votes
1answer
105 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 ...
2
votes
1answer
247 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 ...
0
votes
0answers
59 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 ...
0
votes
1answer
74 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? ...
3
votes
1answer
119 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: ...
2
votes
1answer
596 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: ...
1
vote
1answer
249 views

Extracting scaling factor and rotation angle from TransformationFunction

I have successfully transformed two 2D data sets (data1, data2) by using ...
3
votes
3answers
333 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 ...
1
vote
0answers
49 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 ...
2
votes
1answer
277 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 ...
0
votes
1answer
134 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-...
0
votes
2answers
1k 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 ...
4
votes
2answers
347 views

How to specify PlotMarkers that scale when graphic is resized?

A ListPlot's default markers resize as the plot is resized. ListPlot[{{{1, 1}}, {{2, 2}}, {{3, 3}}}] However, if you specify ...
7
votes
2answers
148 views

How to stop grid resizing to window width without explicitly setting size?

I have a series of highly formatted grids of information (text, values, tiny plots, etc) that are formatted by a function. The grids are of different widths and heights as ...
9
votes
2answers
360 views

How to cap ImageSize at the notebook width?

Graphics[{Circle[]}, ImageSize -> Automatic] creates a figure which is 360 pixels wide (same as Medium), if it fits in the ...
4
votes
2answers
113 views

Is there a way to scale a graph from the command Periodogram?

Does anyone know if there is a way to scale a graph from the command Periodogram? More specifically in terms of the y axis. I am wondering if there is a way that I can make the highest value on the y ...
1
vote
1answer
136 views

Rescaling random walk

I want to make an animation of a random walk that rescales every time the graph gets to the end point, with the condition that the plot range on x axis is only on [0,1]. In first step, the graph ...
6
votes
1answer
770 views

How to make Text size consistent with ImageSize

I'm using Mathematica to create complex figures. I would like to work them out on small size images and then, just before exporting them, increase the ImageSize. ...
0
votes
1answer
261 views

Why unchanging arrow lengths in VectorPlot?

I want to use Manipulate to plot a vector field that is scaled by a parameter. I use ...
12
votes
1answer
412 views

Why SciDraw can not handle the StreamPlot?

I find that the package SciDraw is suitable for preparing the figure in the thesis. When I use it to plot the line, it works well. For example ...
9
votes
2answers
235 views

How to set zero of bicolor ColorData?

Let me pose the question through an example: Normally, to set the ColorFunction for, say, a ListDensityPlot, I would write <...
1
vote
1answer
442 views

Keeping minor frame ticks after changing unit/scale of the axes

as the title says, I would like to find a way to keep the minor ticks after I change the unit/scale of an axis. For example: ...