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
2answers
366 views

How to visualize slope fields of differential equations without vectors?

I'm looking to visualize slope fields of differential equations for my differential equations course. Every example I see draws them as vectors, adding unnecessary "arrows" that, to me, are visually ...
1
vote
1answer
81 views

Extracting Imported Information

What I want to do is to compare the relationship between the consumption of say beer and wine using scatter plots where each point designates the particular country (preferably named). I have tried to ...
0
votes
1answer
39 views

ContourListPlot not evaluating all of interpolated area

I am trying to plot a contour for a matrix, but it seems not to be evaluating all the points. Here is the interpolated figure, followed by the MatrixPlot version itself. I used this colormap because ...
-5
votes
1answer
83 views

Poincaré section for 3BP

I try to plot the Poincaré section for the 3BP i use the following code that works very well: ...
0
votes
0answers
34 views

How to plot data of complex numers [duplicate]

Here I have some output calculated for different values of some parameter. I want to plot these points in complex plane Re, Im and present them with ListLinePLot. How can I do that, I tried many times ...
1
vote
1answer
107 views

Breaks in plot & blank plots

Almost as a follow on from this old question, I am having similar problems again, with slight difference, that if the values are small enough, a completely blank plot is produced. ...
4
votes
1answer
202 views

MATLAB to Mathematica: coneplot

Does Mathematica have a function, similar to the one called coneplot in MatLAB? Given some spatial coordinates $x, y, z$ and velocity components $v_x,v_y,v_z$, it ...
7
votes
1answer
181 views

Generating high quality charts in Mathematica for use in LaTeX and Word

I frequently have a probelem using my charts in reports because the text (axes labels and tick marks) look low resolution (fuzzy). When I export my charts, i export them as PNG files. Unless I'm ...
0
votes
1answer
75 views

Plotting the discrete solution to a PDE

So I went through all the grunt work of solving a PDE in discrete form for a research project. Now I have a Temperature solution as a function of time and space: $$ T_{i}^{n+1}=\left( \dfrac ...
0
votes
1answer
28 views

How do I pull from a data list for parameter values in a system of ODEs and then solve and plot?

I have a parameter set list and I would like to solve a system of ODEs multiple times using each parameter set in the list. Then I would like each set of solutions to be graphed on the same plot. ...
0
votes
1answer
43 views

grid lines in Manipulate plots are not showing up when first rendered?

I have a Manipulate within which the plot does not render completely initially: ...
0
votes
3answers
177 views

Draw generalized k-ellipse using “the locus of points so that sum of the distances to the foci is constant” deffinition

My goal is to draw a family (for different distances) of 3-ellipse for equilateral set of foci. 3-ellipse definition is: "the locus of points so that sum of the distances to the three foci is ...
-1
votes
2answers
81 views

Plotting solutions of differential equations with different parameters

I want to plot x[t], when i manipulate w from 0.1 to 1.5. Here is what I've attempted, which does not work as expected. ...
0
votes
1answer
56 views

Plot graphs in different colors

I am generating a set of plots and exploring how changing a parameter affects the plot shape. I want each plot to be a different color, but the color rule i'm applying seems to only work for the last ...
1
vote
2answers
91 views

intersection between function and plane

I try to solve a ODE system of equations and i want to plot the intersection of the 3D solutions with a costant plane. To do this i use the follow code: ...
1
vote
1answer
103 views

Plotting a list in real time

I would like to use Mathematica for a presentation and have a list plotted in front of my audience, one coordinate at a time. How would I go about plotting a list progressively in real-time, ie the ...
1
vote
3answers
169 views

For loop in Mathematica

I have set of statements ...
2
votes
1answer
91 views
1
vote
2answers
147 views

MathLink Graphical Output (Plots) to File

In a custom Mathematica frontend based on MathLink I try to make use of plots produced in Notebooks. The idea is to write them to files whenever they get produced. According to C-code snippets I ...
1
vote
1answer
68 views

How to assign Subscript[C, i] to a Sum?

What I want to show is: Plot3D[ Sum[1000*Subscript[C, i]^2/(1000*Subscript[C, i] - 600)^r, {i, 1, k}], {k, 1, 30}, {r, 0.1, 1.5}] And, I want the list of ...
1
vote
1answer
116 views

Draw grid with points

How would I draw a grid with dots on specified intersections? The image below shows the basic idea: If I wanted to label the grid lines with index numbers or letters, how would I do that?
0
votes
1answer
96 views

LogLogPlot giving many error messages [closed]

I'm trying to do a LogLogPlot of the following function: ...
0
votes
1answer
111 views

2 Equations continuous at a point

I want to get continuous point between two equations. My equations are: ...
1
vote
1answer
84 views

Visualizing how the zeros for this function change as its input parameter changes?

I'm trying to explore how the zeros of a certain parameterized function change as its parameter changes. ...
1
vote
2answers
78 views

Cannot Plot Function

I cannot plot this function as I am getting errors. I am not sure what I am doing wrong. Seems to work when $$n \rightarrow 1,$$ but when $$n \rightarrow 2,$$ I get a whole bunch of errors and ...
9
votes
3answers
284 views

Errors when plotting Exp[-x]/x for large values of x [duplicate]

I am trying to plot a very simple function f[x_]:=Exp[-x]/x on a log-log scale like this LogLogPlot[f[x], {x, 10^(-5), 10^7}] ...
0
votes
1answer
73 views

Setting plot size within vector; dynamic slider (two part question)

I have a question about the size of a plot in mathematica. I'm working on some differential equations (a simplified model of heat transfer in a building). I've programmed it so that you can set ...
0
votes
0answers
42 views

3D Point in Epilog of Plot3D [duplicate]

When plotting in 2D you can add a Point to the plot using Epilog: ...
0
votes
2answers
98 views

Histogram plot with descriptive statistics on the plot

I am wondering in Mathematica Can we generate histogram plot with descriptive statistics, such as mean, median, and skewness, attached to the plot ? For example, we may place all the statistics to ...
3
votes
1answer
91 views

How can I change label colors in a colored chart?

I am trying to make a chart with labels, but I would like for the labels on the chart to be white for purposes of visibility. I am aware of the ...
1
vote
0answers
66 views

Parallel numerically integrated function can't be plotted

I've been working on a problem where I need to integrate a function numerically. The function is quite complex and it takes almost an hour for Mathematica to make a plot. To speed the process up I ...
0
votes
1answer
85 views

How to plot the output of a calculation with a changing variable

The following code successfully manages to plot the cross-section, and give me the maximum depth of a weld pool, for a given set of parameters. What I would ideally like to be able to do is to plot a ...
7
votes
4answers
209 views

Controlling ListPlot Line Colors

I am using ListPlot to display from 5 to 12 lines of busy data. The individual time series in my data are not easy to distinguish visually, as may be evident below, ...
1
vote
1answer
94 views

Plot periodic function from Dirac delta function [duplicate]

Sorry for my bad english. I need to plot periodic function from dirac delta: δT(t)=∑δ(t–n*T), where T - is a constant, and n=-20..20 And after them, plot new function fd=f(t)*δT(t) - discrete signal ...
4
votes
1answer
149 views
0
votes
1answer
71 views

Extracting polygon color parameter from another variable [closed]

I'm a beginner with Mathematica, so this may seem like a simple question, though it's got me totally stumped. I'm trying to display several polygons and have the color of each polygon depend on the ...
6
votes
1answer
184 views

ListContourPlot3D doesn't use all points

Edited thanks to @Kuba: In the following example, ListContourPlot3D accepts an array of points spaced at intervals 0.1 apart throughout the volume, but seems to choose an arbitrary number of points ...
1
vote
1answer
110 views

How do I overlay multiple graphics on one plot? [duplicate]

I am plotting n spectrum using: ...
0
votes
1answer
81 views

Derivative of Interpolating Function [closed]

Let's assume that Sol is the solution of NDSolve, given as an InterpolatingFunction f InterpolatingFunction[{{0.,10.},{0.,100.}},<>] If I want to plot it, ...
0
votes
0answers
21 views

Question about a ParametricPlot with a shading grey family of lines and/or different sizes [duplicate]

So, I have this function of the polar angle $\theta$, with a varying parameter $t$: {Cos[\[Theta]] (1 + Sin[t]), Sin[\[Theta]]} and I want to draw it in a ...
7
votes
3answers
173 views

Formatting an equation on a plot

I am trying to label a plot with an equation. The problem is that Mathematica formats things almost well but not exactly. The parenthesis are of the wrong size, and the powers are not high enough. ...
21
votes
4answers
531 views

Implementing a Beeswarm plot in Mathematica

I am looking for a Beeswarm plot implementation in Mathematica. Consider the following data: ...
2
votes
3answers
100 views

Plotting lists, exact color values

I read some descriptions of similar problems but I cannot make them work in my example, I don't know why. I have list of 3 dim values to plot: x, ...
3
votes
2answers
120 views

Change ticks from number to hours

I have an unidimensional array (let's call it list)ranging from 0 to 86400, each one representing a second of a day (a day has 86400 secs). For example, ...
-1
votes
1answer
76 views

Plotting the results of a system of equations

I believe this is a question of more list manipulation than plotting, but I hope you could help me. I solve numerically a system of equations of 3 variables, take only real solutions where one of the ...
3
votes
2answers
62 views

PlotRangePadding that's a fixed fraction of a plot's longest dimension

I am trying to produce plots of a region which can alternately become very long or very tall, and I would like to have some padding around it which is uniformly thick in both the horizontal and ...
1
vote
1answer
118 views

Error bar plot - no bars but rather point size determined by errors

Looking for a way to create an ErrorListPlot (x,y,error) with the radius of the PlotMarker ...
0
votes
1answer
83 views

Custom BoxWhisker Plot

I’d like to figure out how I can show my entire dataset overlaid on a box whisker plot. ...
1
vote
1answer
122 views

invert system of two parametric ODEs and plot results of do-loop

I can solve this system of parametric ODE (u is the parameter,while g,e and ...
2
votes
2answers
189 views

Line of best fit on LogLog plot

I have a LogLog plot, and i'm unsure about how to fit a line to it. The data represents a calibration curve. ...