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

learn more… | top users | synonyms (8)

5
votes
4answers
212 views

DateListPlot: Highs and Lows

I have this data: ...
0
votes
1answer
57 views

How to put a threshold in a DensityPlot?

I've a function of two variables f(x, y) which assumes values between 0 and 1 only in a certain region of the domain of the R^2 space, i.e. x ∈ (1, 2) y ∈ (0, x/2) I'm interested in a ...
1
vote
1answer
55 views

ContourPlot:show only one of multiple solutions

I have two functions with two parameters (p & x). I am looking for the values of "x" that makes the two functions to be equal, varying "p" from 0 to 1. I have two solutions for this implicit ...
1
vote
2answers
79 views

RegionPlot after Reduce

I have a problem in this form To solve this I have tried this f1[y_] := 2 - (y - 1)^2; f2[x_, y_] := x + 1 - (y - 2)^2; f[x_, y_] := Max[f1[y], f2[x, y]]; The ...
1
vote
2answers
71 views

Evaluating and Plotting Multiple Zero-Counting Functions

In work that I am doing, I am trying to plot multiple zero-counting functions, depending on how a parameter works. For example, if the zeros of one function are {1, 2, 3, 4, 5, 6, 7}, the zeros of ...
3
votes
3answers
145 views

How to use PlotMarkers or Mesh with Plot to creat Marks on the plot

I have a plot and I want to format it for journal paper. I just realized how hard to format a plot for academic purposes using MMA. For example: I want this plot ...
1
vote
1answer
87 views

DensityPlot colours symmetric around zero

I have some function of two variables (which happens to be the error in some approximation I'm interested in). I'd like to get a density plot of the function, such that in regions when the function is ...
1
vote
1answer
79 views

A With and ContourPlot difficulty

Consider: sys = {u (1 - u + a v), r v (1 - v + b u)}; With[{a = 2, b = 3, r = 1}, Evaluate[Thread[sys == {0, 0}]]] Which gives the output: ...
0
votes
4answers
122 views

Family of Lines

I need to draw a family of lines connecting (a,0) and (0,b), where a+b=2, and determine an equation for the envelope of this family of lines. I need to do this in mathematica and don't know where to ...
0
votes
0answers
47 views

Region Plot - Non Intersecting Regions

Is there anyway to plot non intersecting regions with RegionPlot? I was thinking someting in the spirit of: ...
0
votes
1answer
75 views

How to draw a 3D Plot with non-numerical axes?

I've got a CSV file that looks like this: c1,c2,m1,m2,m3 'a','b',1,0.5,4 ... 'x','y',10,100,4.21 Where c1 & ...
3
votes
3answers
243 views

How to plot functions in multiple coordinate systems

I´m curious if is it possible to plot in: A. two different Cartesian coordinate system who share the same plane but have different origins and rotation. The visualization should preferably resemble ...
1
vote
1answer
113 views

Why wrapping this ContourPlot inside a Manipulate changes its output into something unrecognizable?

I am a bit puzzled: I wrap the same exact ContoutPlot inside a Manipulate, and it looks all wrong (I don't know what it's drawing but it does not look like the zeros of my polynomial). What am I doing ...
2
votes
1answer
201 views

How I can make the StreamPlot of this differential equation?

I need the StreamPlot of this differential equation but I don't know how. dp/dt = 0.4 p(1 - p/30), 0 <= t < 5 and 0.4 p (1 - p/30) - 0.25 p, t > 5
6
votes
2answers
172 views

Adding annotations to plot with vertical leader line to the curve

I am working with some GPS data for a bike trip I am going on. All the routes are given so it's easy to simply follow the line on your GPS. I am looking for a way to visually summarize information ...
2
votes
1answer
81 views

Combined ListPlot3D using arrays of different length

I have three parts of a ListPlot3D that I would like to combine. The problem is, the middle part has more points in one dimension than the other two, which means I can't combine them easily to plot ...
4
votes
2answers
125 views

Imaginary terms in the derivative of Jacobi theta function (2) on the real line

I am trying to calculate/plot the derivative of the second Jacobi theta function $d\theta_2(0, e^{-\pi t} )/dt$. Calculating or plotting the function itself works fine: ...
1
vote
1answer
313 views
0
votes
1answer
107 views

DiscretePlot - adjusting the scale on Y axis to log with prescribed spacing

I have this picture of a residual Plot I am trying to reproduce (Y axis scale should be the same as in my plot): The code I ...
1
vote
2answers
280 views

Controlling colors of points in ListPlot

I have a collection of points I want to plot using ListPlot[]. I would like each individual point to be a certain color depending on a key value that is based on a list separate from the points. As a ...
4
votes
1answer
164 views

Problems with TimelinePlot

I'm trying to play with the example in this recent blog post, but I'm having a few basic issues with TimelinePlot: Labels are getting cut off: How can I get ...
1
vote
0answers
34 views

Detecting deviations in a list of points [closed]

Say that I have a list of evenly-spaced points that I want to plot using ListLinePlot. To generate them, I am using a function that works with relatively low ...
1
vote
1answer
56 views

Plotting 2nd order ODE solution for specific values of constants

Suppose that I have a 2nd order, linear ODE and I want to plot the solution I found using DSolve. How can I plot giving specific values of ...
5
votes
3answers
236 views

adjust the alignment of different legends

I used Show to combine a ListPlot and Plot, and each plot has its own legend. The code is as ...
0
votes
1answer
66 views

Plot an ODE solution for a list of specific constants [closed]

Let's say I have a 1st order ODE and want to plot the solution. What I have been doing until now is: ...
1
vote
1answer
100 views

Change numerical plot labels on one axis to strings

This question likely has a straightforward answer. Suppose I have a plot something like this: ...
2
votes
1answer
106 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
149 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
67 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
1answer
60 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 ...
2
votes
2answers
211 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
80 views

Error Exporting STL --insufficient elements to export

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

Unnecessary free space under the figure

Here is the data ...
1
vote
1answer
52 views

ListLogLinearPlot with Legends

I need to plot this data in Log scale for both axes, and also need to add a legend. But since they are joined dots, the legend that appears is just a dot instead the plotstyle I choose. ...
1
vote
2answers
139 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 ...
8
votes
2answers
177 views

SetOptions for CoordinatesToolOptions for DateListPlot?

Bug introduced in 10.0 and persisting through 10.2.0 or later DateListPlot does not respect my Options setting for ...
2
votes
1answer
89 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
55 views

Change ColorScheme of DistributionChart

The "ColorScheme"of a DistributionChart can be changed using the ChartElementFunction like in the following example: ...
0
votes
1answer
87 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 ...
10
votes
1answer
173 views

Enigmatic message about MaxBend

Referring to the method I proposed for Problem with ParametricPlot Mathematica 10.0.2 throws an enigmatic error message: ...
3
votes
3answers
160 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
87 views

3D scatter plot with labels [closed]

I am doing 3-D scatter plot with labels and using the following code ...
12
votes
1answer
134 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
516 views

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

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
0answers
71 views

Why are the labels twitching vertically in TimelinePlot?

Why are labels jumping up and down here: ...
2
votes
2answers
192 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
44 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
101 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 ...
0
votes
0answers
42 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.
8
votes
1answer
103 views

Iterator variable not blocked in ParametricPlot

Bug introduced in 10.0 and persisting through 10.2 or later It appears that perhaps the iterator variable r is not Block-ed ...