Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
15,828
questions
16
votes
4
answers
1k
views
Converting a Text into a list of points
How can i convert a text/font into a list of Points?
For example,I have this letter h,
...
2
votes
1
answer
475
views
Position and format frame labels and ticks frame ticks
How could I move axis and tick labels from the left to the right vertical axis, while retaining ticks on both vertical axes, but removing ticks, axis labels, and tick labels from the top and bottom ...
0
votes
3
answers
347
views
Plot y, x and t
...
2
votes
0
answers
68
views
Inconsistent behavior of theme "Monochrome"
I am reporting inconsistent behavior of the "Monochrome" theme through this post when using a GrayLevel[] background. I am using version 12.2.0 Win7-x64.
...
13
votes
2
answers
495
views
How to properly use FrameLabel with the new PlotLayout feature?
Behold! MMA 13 brought us closer to getting publication-ready plots. I wonder if we can solve this one once and for all with a nifty & modern wolfram syntax.
I'd like to have 4 plots with each y-...
5
votes
3
answers
198
views
How-to Replace or Modify Last Element of each Sub-list
I hope everyone had a great start to the New Year!
I want to create a NumberLinePlot. Naturally, I have tried to utilise ...
2
votes
2
answers
122
views
Combine RegionDifference with Graphics
I have this 2D graphics
...
2
votes
1
answer
108
views
Frame coordinates of a Plot for background filling
I want to fill the frame background of a Plot with a color for which I am using a Rectangle as a ...
6
votes
2
answers
138
views
How to just set MeshStyle but don't change the BoundaryStyle?
This is my code:
...
2
votes
1
answer
69
views
Disappearing level curves on ParametricPlot3D
The mesh of level curves on ParametricPlot3D[] does not work for some functions.
For many functions it works normally, e.g.:
...
0
votes
1
answer
81
views
How do I integrate and plot the function $\int\int e^{-x\cdot y}dx dy$ numerically? [closed]
I would like to integrate the function $e^{-x\cdot y}$ numerically (in the fictitious assumption that there would be no closed form for it).
As a result a plot should come out that looks as follows:
...
22
votes
3
answers
1k
views
How to get axes labels with MultiaxisArrangement
I am delighted to see the new MultiaxisArrangement feature, but when I tried it, I could not figure out how to label the two axes. For example, the following produces no axis labels. Nor does any ...
4
votes
2
answers
102
views
Plot and differentiate a piecewise vector function [closed]
Consider the map $f:\mathbb R^2\to \mathbb R$ defined as
$$ f(x,y)=\begin{cases}
\|(x,y)\|^2\sin(1/\|(x,y)\|) & (x,y)\neq0 \\
0 & (x,y) =0\\
\end{cases}$$
I am trying to get a ...
2
votes
0
answers
63
views
Save Selection As command gives no options--only pdf format savable
I want to insert a Mathematica plot (ListPlot3D) into my question CopulaQuestion, but I no longer seem to be given the option of what format to use. Only a pdf seems possible, which I can't then ...
2
votes
3
answers
605
views
How can I scale color bar and make it consistent with color of plot
for a minimal example, I have these two sets of data
...
0
votes
1
answer
136
views
Mathematica refuses to plot this interesting graph [closed]
I am trying to plot this function $f$ which satisfies $f$ bounded, monotone, $C^\infty$, but $f'(x) \nrightarrow 0$ as $x\rightarrow\infty$. I am running a linux computer with mathematica 12.3. My ...
1
vote
2
answers
215
views
How to use solution of NSolve as a list and them plot?
I am solving a set of equations with one of the parameters Rload as a list. After I solve it, how do I calculate power of each Rload using the formula power=(X-Y)*Rload, and then plot power vs Rload?
...
0
votes
0
answers
125
views
How can I use Mathematica to convert a Mollweide projection map to Equirectangular?
So, disclaimer, I have zero experience with Mathematica, and I apologize in advance.
I'd been looking for some software capable of converting between map projections for some time (in order to convert ...
1
vote
2
answers
166
views
2-dimensional scatter plot of a 3d dataset [duplicate]
I am fairly new to mathematica, I have been trying to find some inbuilt plotting function that lets us plot a scatter plot of a dataset: (x,y,f(x,y)), where color of the plot is based on value of f(x,...
5
votes
2
answers
155
views
How can I sort a data in specific form for Interpolation?
I have data of closed shape form
ListPlot[data, AspectRatio -> 1]
I would like to Interpolate this data to get the missing points so I am using ...
10
votes
1
answer
480
views
CustomTicks and Mathematica 13.0
Here is the code, which uses the CustomTicks package:
...
2
votes
1
answer
187
views
BarLegend frameticks formatting
I'm trying to change the default BarLegend ticks style using the officially documented methods, but nothing changes. I've tried the Method method (...
3
votes
0
answers
107
views
Bug with ListVectorPlot in 12.3.1?
Bug fixed in 13.0.0
The documentation shows that result of
...
1
vote
0
answers
47
views
ParametricPlot3D: Combine plot that depends on 2 variables with plot that depends on 1 variable [closed]
I'm using ParametricPlot3D to plot 2 surfaces that are parameterized by 2 variables. Now I would like to add a curve that is parameterized by just one of these ...
0
votes
0
answers
30
views
Assigning colors of a table of functions [duplicate]
I have a little problem.
I define:
f[x_,y_]=x^2_y^2
and
g[x_,y_]=x^4+y^4
Then I had create a sequence
...
0
votes
1
answer
82
views
Positioning a BarLegend on ContourPlot [closed]
How can I change the position of the legend of counter plot?
LegendPosition does not work in this case!
how can I do this for the following example?
...
15
votes
6
answers
900
views
How to separate the regions enclosed by curves
There are three arbitrary curves that defined by three implicit functions. How to separate the 12 regions(one of them is the outside infinite region)
Although we can use image methods to distinguish ...
0
votes
1
answer
52
views
2
votes
1
answer
177
views
Join variable with string in a label plot
I have a simple problem regarding writing in a plot label variable and numbers. I have checked in other forums, but I was not able to solve my problem.
I have this plot
...
11
votes
2
answers
322
views
Replicating $\LaTeX$'s pgfplot Style in Mathematica
I'm trying to replicate the plot theme of $\LaTeX$'s pgtplots for 3D surfaces in Mathematica's Plot3D Function. The goal is to create something similar to this:
So I played around with the opacity ...
5
votes
1
answer
137
views
Sorting colors in the plotstyle versus the grade of details [closed]
We have multi plots in a figure that are shown individually with specific colors.
...
3
votes
1
answer
88
views
Scale the x- and y-axes of a plot of {x,y,z} to extend from 0 to 1 [closed]
I have a two-dimensional (100 x 100) matrix of real values z $\in$ [0,1]. I'm interested in displying these values in a three-dimensional plot of {x,y,z} in which the x- and y-axes themselves range ...
5
votes
1
answer
84
views
Why PlotMarkers change direction inside Show?
I was trying to answer this vectorized an arbitrary function using DiscretePlot with PlotMarkers, then noticed that the plot ...
7
votes
1
answer
308
views
vectorized an arbitrary function
We wish to draw a plot of Sin[x] function associated with a series of vectors stemming from horizontal axes and end to the mentioned function. Same as:
where ...
3
votes
3
answers
546
views
How to draw a 3D plane by using the function f(x,y,z)==0? [closed]
My attempt is below:
Plot3D[{3 x + 4 y + 5 z + 6 == 0}, {x, -1, 1}, {y, - 1, 1}, {z, -1, 1}]
What I want to draw is something like this!
4
votes
1
answer
204
views
v13: ListPlot and TimeSeries
Note: Fixed in version 13.1. Bug present in version 13.0.
The examples from the documentation for TimeSeries behave strangely in v13.0. Here's the first:
...
0
votes
1
answer
94
views
what is wrong with my code? it gives an empty graph [closed]
this is my code: and it gives me an empty graph?
...
0
votes
1
answer
74
views
Problem with automatic numbering of values for logarithmic plotting, e.g., 0.00 substituted for 0.01
On the figure below, notice the value 0.00 automatically generated for the largest y-axis value, where the correct number would be 0.01, or $1.\times10^{-2}$. I think this has more to do with an ...
5
votes
1
answer
98
views
How can I separate expressions in Module without suppressing output?
I want to show a progress indicator while statements in a Module are processed.
Outside a Module this ca be done like this:
...
17
votes
0
answers
268
views
MultiaxisArrangement Functionality in v13.0
At long last, built-in multiple axes plots are included in version 13.
However, the current implementation seems a little half-baked. MultiaxisArrangement only ...
0
votes
1
answer
56
views
Help with plot script [closed]
I need to plot this series: Series[x*E^(-x), {x, 0, 10}]: along with the actual function: x*e^-x on one graph. I used this ...
1
vote
4
answers
237
views
Plotting a 3d curve defined by multiple equations
I am fairly new to mathematica and I am trying to plot a 3D curve defined by multiple formulas. I have the curve $K$ from the point $(\frac{1}{2},-\frac{1}{2}\sqrt{3},0)$ to $(\frac{1}{2},\frac{1}{2}\...
1
vote
0
answers
56
views
Viewing windows for plot (graphing question) [closed]
I have to plot two curves against each other with viewing windows [0,100] by [0,1]. I can get the ...
1
vote
1
answer
66
views
How to adjust my data into a curvier graphic
I want to know how to make this graphic:.
Into this graphic: by making the software "predict" the curve and adjust so that it's not linear between two points.
1
vote
0
answers
90
views
How can I make my plot like this plot style picture [closed]
I would like to have all of my plots like this picture here, How I should add such as PlotStyle -> , PlotTheme -> and AxesLabel -> etc,.. I would like to see for this example Sin[x], Sin[2x], ...
1
vote
1
answer
37
views
Access radii characterizing rings in a PieChart3D for multiple datasets
Consider the following code:
...
1
vote
0
answers
55
views
Create table of coordinates from contourplot of equations [duplicate]
I have a plot that requires 3 curves. For the plot, [x] is a function of [v].
For each of the curves, I need to find the average [x] value and the average [v] value.
I figured out how to create the ...
7
votes
3
answers
532
views
What is the cause of the weird output in the plot?
Bug fixed in 12.3
I am using v12.1.
I printed out the graph using the plot as follows.
But there was a strange dirt. This phenomenon occurs in the Sin and Cos functions.
...
1
vote
1
answer
215
views
Draw phase portrait with StreamPlot on a sphere [closed]
I would like to draw this phase portrait using StreamPlot on sphere as in this picture
like that
In fact, i have seen this for the classical pendulum defined by ...
1
vote
1
answer
41
views
Squeezed ListContourPlot
When I execute the following,
ListContourPlot[{{0, 0, 0, 0}, {0, 1, 1, 0}, {0, 1, 1, 0}, {0, 0, 0,
0}}]
the output is not symmetric in two directions, which ...