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

learn more… | top users | synonyms (4)

1
vote
0answers
34 views

Plot a data of four dimension

I have a confusion recently about the visualization of data.the data you can get there enter link description here.The construction of data is four dimension,like as {x,y,z,color},this is my current ...
0
votes
1answer
60 views

Arbitrary hollow cylinders in mathematica 9

I'm having trouble displaying a hollow cylinder in Mathematica 9. A hollow cylinder looks like this: I tried to use RevolutionPlot3D with a step function. It ...
-2
votes
0answers
68 views

How to compute and plot an intersection? [on hold]

When two surfaces (ParametricPlot3D based on two independent parameters or a CountourPlot3D or a Monge Plot3D with known formula) are placed and plotted together, how is the intersection line ...
0
votes
0answers
23 views

STL exports as flat rectangle

I have this code to graph a 3D surface and fill it to the axis: ...
1
vote
2answers
105 views

How can I reshape my solutions to make a 3D plot?

I need some help on the following. I need to run Solve for multiple values of a and b. To do so instead of using Do, I use ...
6
votes
1answer
64 views

Applying a texture to part of a sphere

I am trying to texture a sphere with a picture of myself. I don't want it to be stretched across the whole sphere but only to appear on the front. I used ...
0
votes
0answers
16 views

How can I get the 1-ring neighbor of mesh triangle?

I have an .obj file. I import it into my mathematica and get the vertices and also triangles as follows: ...
-2
votes
1answer
31 views

Use two functions for x and y coordinates for a plot [on hold]

I try to make a plot out of two functions. It is a cycloid I want to plot. These are my two functions: ...
0
votes
0answers
46 views

Phase space plot [on hold]

I solve a dynamical system problem using NDSolve. I plot the results using ParametricPlot. Is there any way that I could get a ...
-4
votes
0answers
25 views

Plot a simple line x=t^3 + c [on hold]

I know mathematica has a plot function but it's not giving me what I want. Using the above equation, how do I get Mathematica to generate a plot of lines for different t and c values?
0
votes
1answer
25 views

Sampling Points Between Two Functions and Plotting Sample Points? (I have partial code) [duplicate]

I want to sample random points between $Cos(x)$ and $Sin(x)$ on $0 \le x\le \frac \pi4$ I was able to do graph the function here in Mathematica. I would like to count, and then plot points between ...
1
vote
1answer
89 views

How to combine VectorPlot and Plot3D

I have a problem with VectorPlot and Plot3D, and I have a code for both but I dont know how to plot the same figure. Here is the code for Plot3D: ...
1
vote
0answers
31 views

How to convert a list of polynomials into a list of equations and plug into Contourplot?

Given a list q of polynomials (output of GroebnerBasis) in two variables I want to transform the list into a list of equations and plug it into CountourPlot. For ...
3
votes
1answer
66 views

Put labels sloped along axes in ListPlot3D

The three text labels in the following figure are all in horizontal direction. How to put the labels sloped along each axis to which it is attached? My Code ...
1
vote
2answers
90 views

Get Y-Axis of FFT in decibels

I am trying to make a plot of a sound file similar to Audacity's FFT plot which looks like this when the x-axis is on a log scale: My plot of the same sound file (below) has the problem that the ...
2
votes
1answer
48 views

Choosing which edges of the box to show in 3D graphics

Is there a way to explicitly choose which edges of the bounding box to show when plotting something with Boxed->True? For instance, a plot like ...
0
votes
1answer
29 views
3
votes
2answers
115 views

Plot contours for 3d histograms

I have a data set which is a list of pairs. From this I can easily make a 3d histogram with Histogram3D[data] or a smoothed ...
5
votes
4answers
185 views

DateListPlot: Highs and Lows

I have this data: ...
0
votes
1answer
36 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 ...
0
votes
0answers
28 views

Raw object cannot be used as an iterator error while plotting [on hold]

I have a function ρ[θi] that is an integral. The function is also a function of another function, which also depends on θi. ...
1
vote
1answer
34 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
48 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
33 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
112 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
43 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 ...
0
votes
4answers
74 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
1answer
56 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 & ...
2
votes
3answers
105 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
43 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 ...
0
votes
1answer
37 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.4p(1 - p/30), 0 <= t < 5 and 0.4p(1 - p/30) - 0.25p, t > 5
6
votes
2answers
121 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 ...
0
votes
0answers
59 views

Double scale for both x and y axis [on hold]

I need my graphics to display double scales for both the x and the y axis. I have been trying to use the method explained by Mr. Wizard here: Two x-axis with different units connected by function ...
2
votes
1answer
51 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 ...
1
vote
1answer
42 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: ...
0
votes
1answer
59 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
72 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
62 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 ...
0
votes
0answers
28 views

How to append when function outputs are two different arrays?

I have written the following lines of code to generate two vectors $y$ and $poa$. I would like to repeatedly run different instances of the procedure, appending all the resulting $y$s to form one long ...
1
vote
0answers
30 views

Detecting deviations in a list of points [on hold]

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 ...
0
votes
0answers
29 views

RegionPlot3D exponentiation issue [Mathematica 10] [closed]

For some reason, the following code returns an empty graph: RegionPlot3D[x^2 + E^(y^2) + z^2 <= 1, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}] But ...
1
vote
1answer
38 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 ...
3
votes
3answers
106 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
58 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: ...
2
votes
1answer
96 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
60 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
51 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
24 views

ListContourPlot for 3D data [closed]

I have an n x 3 list of some solar cell data that looks like this. ...
0
votes
1answer
54 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
95 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 ...