Questions tagged [plotting]

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

Filter by
Sorted by
Tagged with
2
votes
1answer
46 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
2answers
106 views

How to just set MeshStyle but don't change the BoundaryStyle?

This is my code: ...
2
votes
1answer
52 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
1answer
77 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: ...
13
votes
3answers
212 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
2answers
88 views

Plot and differentiate a piecewise vector function

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
0answers
41 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
3answers
185 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
1answer
118 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
2answers
47 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
0answers
39 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
2answers
72 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
2answers
116 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 ...
9
votes
1answer
175 views

CustomTicks and Mathematica 13.0

Here is the code, which uses the CustomTicks package: ...
2
votes
1answer
57 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 (...
2
votes
0answers
85 views

Bug with ListVectorPlot in 12.3.1?

Bug fixed in 13.0.0 The documentation shows that result of ...
1
vote
0answers
44 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
0answers
24 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
1answer
46 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? ...
12
votes
2answers
431 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
1answer
50 views
2
votes
1answer
38 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 ...
9
votes
2answers
245 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
1answer
122 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
1answer
75 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
1answer
70 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 ...
6
votes
1answer
263 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 ...
2
votes
3answers
183 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
1answer
122 views

v13: ListPlot and TimeSeries

The examples from the documentation for TimeSeries behave strangely in v13. Here's the first: ...
0
votes
1answer
60 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
1answer
62 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
1answer
70 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: ...
9
votes
0answers
86 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
1answer
48 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
4answers
104 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
0answers
41 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
1answer
60 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
0answers
48 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], ...
0
votes
0answers
30 views

Boundary conditions are not satisfied after application of an interpolating function

I have a little question about boundaries conditions. I solved a differential equation and these are x-dependent functions. They are classified using two indices (i,j) like: ...
1
vote
1answer
29 views

Access radii characterizing rings in a PieChart3D for multiple datasets

Consider the following code: ...
1
vote
0answers
52 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
3answers
390 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
1answer
128 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
1answer
39 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 ...
4
votes
1answer
45 views

How to set time zone for `DateListLogPlot`?

Sample data: ...
1
vote
1answer
84 views

Plot a function inside of another function [closed]

I want to plot y[x] vs. x[t]: ...
2
votes
2answers
178 views

Plotting an Expression that is a Summation in Mathematica

I was solving the Helmholtz equation using Mathematica and got as an output an expression which is a summation. I first want to turn this expression into a function of $x$ and $y$. I then want to use ...
1
vote
2answers
41 views

Plotting an oscillating function on Mathematica [closed]

Hey I'm trying to make a phase space plot of an oscillator's position over a period of cycles and whenever I go to enter in my plot function there is no error returned but I'm presented with a blank ...
5
votes
5answers
247 views

How to change the colour of a single line in a graph

Basically i want to change the colour of a single line or 'band' in a ListLinePlot. The first image is the graph i have and the second is the format i'm trying to put the minimum and maximum negative ...