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

learn more… | top users | synonyms (4)

2
votes
1answer
53 views

Generating by plots by rerunning code

I am new to Mathematica. I created a code where I can evaluate a parameter (denoted by PoA) for a random instance of a directed acyclic graph. The code is below. ...
0
votes
2answers
54 views

Use a Module to return multiple plots

A program I'm running requires me to generate multiple plots over the same domain, so I thought it would be fairly simple to use a module and bury all of the plot commands within that that way I only ...
0
votes
1answer
42 views

How to combine 2d and 3d plots with this code [duplicate]

I found a picture for example in google and I want to do with my code like that: And here is my code: ...
0
votes
0answers
21 views

ListContourPlot for 3D data [on hold]

I have an n x 3 list of some solar cell data that looks like this. ...
0
votes
1answer
52 views

Input text next to plot axes

Please see the following image showing my plot. I would like to indicate $\omega$ is maximized at $\bar{\omega}$. But as you can see, it is cut and does not appear correctly. Do you know how to fix ...
1
vote
2answers
92 views

Plot with tick labels but without ticks

In scientific literature, plots often have a design like what I've been trying to make (see below). These images have the following characteristics: 1) Frames on the left and on the right 2) An x-axis ...
0
votes
1answer
24 views

Error Exporting STL --insufficient elements to export

I am trying to export the following code as an STL file: ...
0
votes
1answer
71 views

Unnecessary free space under the figure

Here is the data ...
0
votes
2answers
96 views

Plotting points on the horizontal line

I have list such as list = {1, 5, 2, 6, 3,...} and I need to plot the numbers from the list on a horizontal line such that there will be on a place on horizontal ...
0
votes
1answer
38 views

Mathematica plot of function is blank [on hold]

I am trying to get mathematica to plot my function: f4, where the variable is x and all other letters are constants. I know it understands its a function because it will calculate derivatives, ect. ...
0
votes
1answer
32 views

Creating a stream plot of nonliner diff equations [on hold]

How would I create a stream plot (of eccentric closed curves) out of the following two equations ...
4
votes
1answer
68 views

SetOptions for CoordinatesToolOptions for DateListPlot?

DateListPlot does not respect my Options setting for CoordinatesToolOptions: ...
1
vote
1answer
41 views

How to draw scatter plot with errorbars from huge lists of data in a fast way?

I want to make a scatter plot using two huge lists that give the $x$ and $y$ coordinates of the points. To each $(x,y)$ point I want to add a symmetric errorbar (I have anothe list with the errors) in ...
2
votes
1answer
39 views

Change ColorScheme of DistributionChart

The "ColorScheme"of a DistributionChart can be changed using the ChartElementFunction like in the following example: ...
0
votes
1answer
63 views

Plotting Riemann surface of $\sqrt{z}$ in rectangular coordinates

I'm trying to plot the Riemann surface of $\sqrt{z}$ with this command: ParametricPlot3D[{t,u,Re[Sqrt[t + I u]]}, {t,-1,1}, {u,-1,1}]; but the output isn't ...
0
votes
1answer
68 views

Plotting a NDSolve solution

I'm working on a neutrino oscillations problem, and am running into issues ploting the solution to my differential equations. The equations have non-analytic solutions so I'm using the ...
6
votes
0answers
47 views

Enigmatic message about MaxBend

Referring to the method I proposed for Problem with ParametricPlot Mathematica 10.0.2 throws an enigmatic error message: ...
0
votes
0answers
33 views

Plotting a 2D shape that along a helical path [on hold]

How to ? I am trying to build a pair of feed screws that feed a container oriented in one direction, while turning the container 90°, when the container is discharged from the screws. Example: ...
-1
votes
0answers
35 views

A moving point on a parametric curve [on hold]

When trying to draw a moving point on my parametric curve I did that: ...
0
votes
0answers
19 views

List Plot all rows of matrix [on hold]

I have a matrix of values, and I wish to generate a list line plot of each row. Given, mat = Table[RandomReal[1], {i, 1, 10}, {j, 1, 10}] something like ...
0
votes
1answer
54 views

How can I stop Mathematica from omitting Axes on a Plot?

I'm trying to plot something using Plot[], and Mathematica keeps leaving off one of the axes. I can set Axes->{True,True}, ...
0
votes
1answer
49 views

3D scatter plot with labels [on hold]

I am doing 3-D scatter plot with labels and using the following code ...
7
votes
0answers
48 views

How can I easily visualize density plots with singularities with the least loss of detail?

I'm trying to visualize electric fields. StreamPlot is helpful: ...
1
vote
1answer
132 views

How to plot the graph of the equation F[x,y]=0 if y is real number, x is complex? [on hold]

I have an equation F(x,y;a,b,c,...)=0, where x and y are variables, a,b,c,... - parameters. y is a real number, x - complex. For every given y I need to solve this equation, i.e. to find Im(x) and ...
2
votes
2answers
107 views

Filling graph between lines and plots

I would like to create a filling delineated by the plots and lines as specified below: ...
0
votes
0answers
35 views

Bincounting multiple data

I have 5number of single column data files and I imported all of them using data = Table[Import["hist501" <> ToString[i] <> ".txt", "List"], {i, 5}]. Now I want to determine the bincount of ...
1
vote
1answer
56 views

Bug with DateListPlot with ToolTip with NumberForm?

Is anyone able to confirm if this is a bug in version 10.1 on Windows 7 Pro? I am attempting to produce a DateListPlot with ...
-3
votes
0answers
42 views

Problem using ListLinePlot to plot an array [on hold]

I have an array of values, Pa, that I would like to plot with ListLinePlot ...
0
votes
0answers
41 views

How to draw an ellipse [duplicate]

I'm new. I just started learning how to use Mathematica. I'm trying to draw an ellipse given by the implicit equation $y^2 = 1/625\,(330 625-529x^2)$. I cannot figure out how to do it.
7
votes
1answer
73 views

Iterator variable not blocked in ParametricPlot

Introduced in 10.0, persists through 10.1 It appears that perhaps the iterator variable r is not Block-ed in the ...
0
votes
2answers
51 views

Question RE DiscreteMarkovProcess Graph Labels

I'm trying to label the arc's of my Markov chain with symbols like $\alpha$, $\beta$, etc., to show how the Markov chain looks abstractly. So, I did this... ...
0
votes
2answers
63 views

How to Fill ContourPlot

Given a contour plot such as function = Cos[c] + Cos[a] pltc = ContourPlot[function == 1/2, {a, 0, 4 Pi}, {c, 0, 4 Pi}]; How can I color the regions in which ...
0
votes
0answers
49 views

Fixed colors for fixed values in contourplot legend

I am trying to make a contour plot of a gravitational potential, consisting of a sum og different potential.s. I would like to plot them separately with a BarLegend that has the same colors for the ...
0
votes
1answer
55 views

Plotting six chosen rows of a matrix

I have a matrix,W, whose dimension is n x n, each entry is a number. I need to plot only the values of six rows, namely those ...
0
votes
0answers
21 views

blank part in the contour plot [duplicate]

Why did my listcontourplot have some blank part like the below? I've checked that my data is in the range of [2.5, 4]. Is it because that it changes so fast??
3
votes
1answer
122 views

How to draw a tropical surface?

By definition, a tropical surface in $\mathbb R^3$ is the set of points $(x,y,z)$ where the maximum $f=max(f_1,f_2,\dots,f_n)$ is attained at least twice, here $f_i$ stand for some linear functions of ...
0
votes
1answer
77 views

Problem with using GraphicsColumn

I have three plots defined as: ...
0
votes
0answers
21 views

ContourPlot looking choppy [duplicate]

I want to plot a simple curve, the bifolium (x^2+y^2)^2-yx^2=0. I entered n=1/2; ContourPlot[(x^2 + y^2)^2 - y x^2 == 0, {x, -n, n}, {y, -n, n}] into mathematica and got the plot which looks very ...
3
votes
1answer
40 views

listcontourplot on a sector of a circle [duplicate]

s = Import["Desktop/tension.xlsx"]; ListContourPlot[s, Contours -> 10, PlotLegends -> Automatic] In fact, it is a contour of a circular part from (2,0) ...
3
votes
2answers
150 views

Vector Plot of a linearly varying cantilever

I want to drawing with Vector Plot a deflection and slope of a linearly varying cantilever. And with Contour Plot it works but with Vector Plot it didn't. Here is the code: ...
1
vote
1answer
31 views

Setting Fixed Axis

Is it possible to prevent the values of axis of a 3D plot from moving? If I run this code: ...
1
vote
2answers
48 views

3D box dimensions

How can I set the dimensions of the box of a 3D function, without influencing the function? For example I want to see this function ...
1
vote
1answer
75 views

Streamline Plot from velocity discrete values

I solved Navier Stokes equation in C for lid driven cavity flow and extracted converged values of u velocity and v velocities in ...
0
votes
0answers
37 views

3D graphics objects don't work in Plot3D Epilog? [closed]

I can add graphics objects like Polygon and Arrow in a Plot ...
5
votes
0answers
61 views

Strange artifacts on graphics saved as PDF

I have a problem when plotting 3D graphs. Plotting any graph with the default settings using Plot3D, e.g. ...
0
votes
0answers
26 views

Draw sample functions from Gaussian Process prior

Previously, I have written implementation codes of Gaussian Process regression in Python and Matlab. However, for better interaction and visualisation, I am currently working on implementation in ...
2
votes
1answer
63 views

Stability Boundaries via Routh-Hurwitz Criterion

I'm attempting to determine the stability boundaries of a 2nd order system via Routh-Hurwitz stability criterion. That is to say, I need to compute when a polynomial, which is in terms of variables ...
10
votes
1answer
125 views

Why does Plot try symbolic values?

I have the following code: Test[a_] := (Print[a]; a*2) Plot[Test[a], {a, 0, 10}, PlotPoints -> 5, MaxRecursion -> 0] This should plot ...
10
votes
0answers
133 views

RegionPlot returning a number

Introduced in 10.0, persists in 10.1. I had updated my mathematica to version 10 few days ago. And I had been shocked by the following fact: ...
2
votes
2answers
186 views

How to make a 3D plot of $(x^2+y^2-1)^2+(y^2+z^2-1)^2+(x^2+z^2-1)^2=0$ [closed]

How can I make a 3D plot of $$(x^2+y^2-1)^2+(y^2+z^2-1)^2+(x^2+z^2-1)^2=0$$ Does the above equation describes the same region as $$x^2+y^2\le 1\wedge y^2+z^2\le 1\wedge x^2+z^2\le 1$$