Questions tagged [scaling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
4answers
252 views
3
votes
1answer
66 views

Creating a mesh from a very thin layer

I have the following code which works just fine: ...
2
votes
2answers
68 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
43 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
43 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
87 views

Increase vertex embedding distances e.g. scale VertexCoordinates

I currently try to make following graph more readable: ...
8
votes
1answer
150 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
91 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 ...
3
votes
1answer
79 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
115 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
51 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
69 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
81 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
383 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
156 views

Extracting scaling factor and rotation angle from TransformationFunction

I have successfully transformed two 2D data sets (data1, data2) by using ...
3
votes
3answers
220 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 ...
1
vote
0answers
40 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
202 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
126 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
783 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
261 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 ...
6
votes
2answers
114 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
252 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
99 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
119 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
497 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
196 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
384 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
222 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
225 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: ...
6
votes
1answer
138 views

Building very large matrices - strange scaling behaviour

Problem explanation I work with a symmetric matrix $M$ that consists of four single matrices. I calculate three of them such that $M$ = $\left(\begin{matrix}a & b \\ b^T & c\end{matrix}\right)...
1
vote
1answer
150 views

Change unit of axis

I want to plot a trigonometry function (for example : $\lfloor 2\cos x\rfloor$) using Mathematica. And I want to scaling x axis using multiples of $\pi$ . For example $\frac{\pi}{2}$ , $\pi$ , $\frac{...
5
votes
1answer
624 views

How to apply multiple scaling functions to the same axis?

I have a parametric plot and would like to display it double logarithmic with one axis reversed. For example how can I get two log axes for this plot: ...
2
votes
2answers
206 views

Showing small oscillations in an animation

I came across a problem where I would like to animate small (but important!) oscillations around some state. Here I attach a very very simplified example. This is a working example of my problem: <...
6
votes
1answer
264 views

How to Inset a legend in GeoGraphics with Scaled LegendMarkerSize?

I have a GeoGraphics where I am using Scaled in PointSize to include size information. I ...
1
vote
2answers
881 views

combining two plots with different scales

I have two listplots (see below), and I want to combine them in one single plot. Show[] doesn't work because they have different vertical scales. There is a guide ...
0
votes
0answers
31 views

ImageScaled behaves differently in Plot and Graphics [duplicate]

I have a Plot with an ImagePadding that leaves enought space outside the Frame where I want to write something. I want to use scaled coordinates, so I guess ImageScaled is what I need. Unfortunately, ...
26
votes
3answers
5k views

Mathematica 11 with High DPI 4k screen

My laptop has a 17 inch 4k screen, running Windows 10 and Ubuntu 1604. Both systems are set to 2x scaling. But Mathematica 11 (released 2016-08-08) is still blurry like version 10. Is there a simple ...
0
votes
0answers
55 views

Manipulate axis scale on a ListPlot [duplicate]

Use this code to generate my problem ...
1
vote
1answer
390 views

Scaling the axis

I want to scale the x-axis in the plot by a factor of $\frac{\sqrt{3}}{2}$, When I change the variable in the command: Plot[f,{Sqrt[3]r/2,0,20}] I am getting an ...
1
vote
1answer
88 views

How to rescale a NDSolve curve to fit in a box?

I'm numerically solving some differential equations and the 3D curve I get has a very complicated shape and size that cannot be predicted from the initial conditions. I need to rescale the whole ...
1
vote
1answer
239 views

Changing function along the z-axis in a 3D plot

I'm trying to figure out how to change the period over time (z-direction) in my 3D plot, which is a gyroid, in a way similar to a color thickness function, but I would like to do it continuosly on the ...
13
votes
1answer
255 views

What governs images resizing in the FrontEnd environment

What is responsible for the middle Row images' size? And why single image row is different? ...
0
votes
0answers
49 views

Quick Question - ContourPlot a Rectangular region [duplicate]

I have been using the contourplot command to illustrate the eigenfunctions of a 2x1 rectangle. However, the contourplot scales the y axis to make the region square, which is distorting the image. ...
5
votes
2answers
197 views

Align ColorBar (axislabel) to be parallel to the y-axis for any view-angle

The following code produces the 3D plot below (which is almost what I want). ...
3
votes
2answers
113 views

Scaling the output of TemporalData object

The RandomFunction generates an output in the form of TemporalData. How can I plot a scaled version of this data, e.g., all values divided by $n$ with time kept fixed? I read this post but couldn't ...
5
votes
1answer
231 views

Mathematica 10 Audio Export Issue

Summary of the problem: When exporting data as an audio file (AIFF/WAV etc.), there appears to be unwanted scaling and offset in the data such that the minimum and maximum values are forced to be -1 ...
5
votes
3answers
714 views

How to get arrowheads scaled to be a fixed fraction of the arrows' lengths?

Example: ...
13
votes
3answers
880 views

What does the AspectRatio option actually do?

The Documentation for AspectRatio on its first line under the "Details" section states: "AspectRatio determines the scaling for ...
17
votes
3answers
814 views

How to align coordinate systems of Inset and enclosing Graphics?

Suppose we have some plot with AspectRatio not being Automatic: ...