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

learn more… | top users | synonyms (4)

0
votes
0answers
34 views

Export a 3D array (with time) from matlab to mathematica

I am using again Mathematica and enjoying it. I have a question, is there a way to do a "time" plot of 3D vectors? I try to be more clear, I have 12 vectors (3D vectors). They are changing over ...
0
votes
2answers
78 views

How to change plot unit or scale the number of axis?

I want to use ms instead of s as the unit of x-axis. But frameticks seems not to work here as it cannot change the value of x-axis. How to replace the number of x-axis 0.0001 with 1 or 0.1? Or just ...
6
votes
2answers
193 views

Setting OperatorSubstitution to False has issues with PDF and EPS exports. Are these bugs?

In Plot, I would like to use my own font, eg Inconsolata, for operators such as ×, so I set OperatorSubstitution to ...
0
votes
0answers
12 views

Dashed/Hatched filling in RectangleChart [duplicate]

I am making a RectangleChart where I want one of the rectangles to be hatched (dashed filling). You would think this would be easy in Mathematica, but I have not been able to find the code for this. ...
0
votes
1answer
107 views

ListDensityPlot and RegionFunction

I have the following ListDensityPlot : ...
0
votes
0answers
50 views

PDE solved with NDSolve. How can I plot the partial derivatives of the solution? [closed]

I solved this PDE pde = D[B[t, T, r], t] + a*(b - r)*D[B[t, T, r], r] + 1/2*sigma^2*r*D[B[t, T, r], {r, 2}] - r*B[t, T, r] == 0 with this parameters and ...
-1
votes
0answers
27 views

Exploration of the region satisfying the follow conditions

I posting my code which I am using to find data points satisfying the following condition, but from this I can only able find data points of the certain curve. But I want to find the whole region ...
0
votes
1answer
31 views

Plotlegend does not work [closed]

I am trying to add a legend to a plot, but sometimes it work and sometimes it doesn't work and I don't understand why. For example, when I use the following code, I get as an error "Unknown option ...
0
votes
2answers
67 views

Plot Bivariate Data with Marginals

I would like to plot bivariate data along with the marginal distributions. I've arranged the plots in a GraphicsGrid as below but the marginals are centered away from the bivariate plot and I wonder ...
0
votes
0answers
44 views

ContourPlot color problems

I tried to use contourplot to a 2D fucntion with rescaled color, the code is given below ...
0
votes
1answer
68 views

Copy/export a plot as vector EMF

I want to generate a plot using Plot, copy it and paste to a Word/PowerPoint document as a vector EMF file in order to preserve best quality of an image. However I found out that if I Copy Graphic ...
2
votes
0answers
38 views

Surface Plot 3D of a strongly concave shape

I have a list of {x,y,z} points that all lie on the surface of an object (model output from COMSOL). I would like to generate a graphics object that reproduces the surface. Ideally, I would like ...
2
votes
2answers
49 views

Problem with the BarChart3D function

I have a list of values {x,y,z} and I would like to create a 3D bar chart with axis x,y,z . ...
2
votes
1answer
171 views

Weierstrass function

I am trying to create plot of the Weierstrass function in Mathematica. I wonder if it's possible, when I define this function as ...
2
votes
1answer
74 views

What are Epilog x-Axis Positions In BoxWhiskerChart (with BarSpacing option)?

I have a dataset that has a number of groups with overlapping sets. There is a point in the group within the intersection of the sets that I want to highlight by placing a marker of that point between ...
1
vote
1answer
64 views

The relative motion of the points about the common center of mass

There are 2 points with masses m1 and m2, their common center of mass   rC,r1 and r2 their radius vectors, r=Abs[r1-r2]. I built a trajectory of both material points, as well as their common center of ...
2
votes
1answer
71 views

Is there a plot style for PolarPlot to look like matlab polar()?

The plot style of Matlab's polar function appears to be pretty conventional for antenna radiation patterns in the references I'm looking at (sometimes with tick markings that count +- from the ...
1
vote
1answer
57 views

Draw two curves and a surface

I'm trying to draw two curves and a surface, where one of the curves is to appear on the surface. Unfortunately the curves are drawn with very few points and appear extremely unclear. Is there a way ...
0
votes
0answers
67 views

Combining GPS 3D plot with 2D map

I have seen the post on combining a listline plot with a Graphics 3d plot. I cant seem to get it to work with the map I import as described below. Thanks I have a series of 3D GPS points (long ...
1
vote
1answer
139 views

How to add error bars to a fit function in Mathematica 10?

My professor gave us the following code to fit a Lorentzian to our data. I want to add vertical error bars (with individual error found in the experiment) to the plot but I don't know how. Any ...
3
votes
2answers
135 views

How can I create a 3D representation of an object with known coordinates and adjacency table in mathematica?

Basically I want to create an object with specified coordinates and adjacency table, like in page two of this article. I'm completely new to using Mathematica, any help would be great! EDIT: So I ...
2
votes
2answers
57 views

Color points in ListPointPlot3D

I have some 3d points with coordinates and a value assigned to each point. I want to plot the points and depending on the value use a different color. I have tried to use the answer in ListPlot3D - ...
1
vote
1answer
54 views

VectorFieldPlot Assumptions - restricted domain

I would like to plot the 2-D vector field: VectorFieldPlot[{ x/Sqrt[x^2 + y^2], y/Sqrt[x^2 + y^2]}, {x, -5, 5}, {y, -5, 5} ] but I encounter zero division at ...
0
votes
1answer
224 views

How do I plot results of complicated calculations in Mathematica?

I am new to Mathematica and am struggling with making plots of how features of solutions vary with parameters. For example, I can find the eigenvalues and zeroes of a Sturm Liouville problem (showing ...
2
votes
0answers
62 views

Plotting data with four variables; two labels for one of the axes

I am having difficulty related to 3D plotting task. I have a set of data points in the following form : ...
1
vote
1answer
35 views

Tooltip : Mapping list of Tooltip values to list of functions while plotting

How is it possible to map a list of Tooltip values to the functions being plotted? For example: Assume, f1[x], f2[x], f3[x]... are functions defined. {t1, t2, t3, ...} are the list of tool-tips to ...
1
vote
2answers
134 views

how can I bold the outline of conic section as the plane intercepts the cone?

Plot3D[{-5 - x - y, -Sqrt[8 x^2 + 8 y^2]}, {x, -5, 5}, {y, -5, 5}, Mesh -> None, BoxRatios -> {1, 1, 1}, PlotLegends -> "Expressions"]
-3
votes
1answer
57 views

How can I increase the font size in PlotLabel?

Manipulate[ ContourPlot[r*(y/x), {x, 20, 42}, {y, 20, 42}, ContourStyle -> Directive[RGBColor[1., 0.77, 0.], Opacity[1.], AbsoluteThickness[1.999], Dashed], ContourLabels -> False, ...
4
votes
1answer
214 views

ArrayPlot copied to PDF shows blurred mesh

Certain (but not all) images displayed in ArrayPlot, and then copied to PDF, show what appear to be fuzzy mesh lines in white areas. An example is shown below. I ...
3
votes
1answer
48 views

Ticks not positioned correctly on spectrogram

For some reason if I set manually ticks on spectrogram, they are not drawn correctly. If you check on the first graph below it is in descending order from top to bottom (8000, 6000, 4000, ...), while ...
0
votes
0answers
80 views

Plotting: Magnetic field lines

I have data which I am trying to plot as 3D field lines. I need to plot points at coordinates i, j and ...
1
vote
0answers
21 views

How do I set a PlotStyle when plotting a Table of functions? [duplicate]

I want to plot several functions each with its own color. A MWE is as follows : Plot[{2 x, 3 x}, {x, 0, 1}, PlotStyle -> {Red, Green}] which works fine. Now, ...
1
vote
2answers
111 views

Ratio of variables AxesLabel is messed up when plot exported to pdf

On the vertical axis of a Plot whenever I have a ratio of variables in a string as axes label, the exporting of the plot to PDF format messes this ratio up. Minimal working example: ...
0
votes
3answers
72 views

Plotting 4 separate lines on a graph

I want to plot 4 separate lines on my graph but for some reason Mathematica is linking all my points into a single lines. My data: ...
5
votes
3answers
168 views

mixing color of individual parts of a function in DensityPlot

I have a function which is a sum of three terms and I want to plot it in a DensityPlot. However, I would like that the ColorFunction would be the RGBColor resulting of the mixed R color corresponding ...
0
votes
0answers
42 views

ParametricPlot3D doesn't work with components of a vector input

I can't understand why ParametricPlot3D works, when the input is a vector and does not work, when the input is separated components of the vector (it returns an empty plot). The same happens for ...
7
votes
2answers
279 views

Click in a vector plot to plot several solutions of a system of differential equations

I am aware of the Locator button and I am aware of the Equation Trekker package, but they are not what I want to use. Here is what I specifically want to know how to do, if possible. Consider the ...
0
votes
1answer
23 views

Manually choosing colors in ListPlot

I have a ListPlot of 4 data sets (tables) and I want to manually choose what color each one has. data1 = Table1 data2 = Table2 etc. and then ...
3
votes
2answers
79 views

How to draw a family of planes and its envelope?

Motivated by a question in MSE, I have the following question: How can I visualize the envelope of the family of planes $$ 2ax+2by-z+a^2+b^2=0, a,b\in\Bbb{R} $$ which is given by the ...
0
votes
0answers
27 views

Plotting coupled equations with noise modeling with Ito Process

I have a system of two coupled equations which I have to simultaneously add noise to. I am choosing to use Ito Process and in the help section of Mathematica, I did find an example of them doing it, ...
1
vote
0answers
34 views

Trying to plot two coupled equations modeled through Ito Process

I have a system of two coupled equations which I have first examined without noise and have obtained a streamplot for it, to look at the trajectories. Code for this is here: ...
3
votes
1answer
237 views

How to draw multi curves in a graph with errorbars

The curves are composed by several 2*n nested lists. I want these curves be placed in a 3d way, like the xy plane is for the data, different curves are located in several parallel xy planes with ...
0
votes
1answer
44 views

axis label text rotation

I've got the following script: ...
1
vote
0answers
44 views

How to set the Y coordinates for a Graph with defined X coordinates to prevent overlap of nodes?

I would like to draw a Graph with defined x coordinates and variable node sizes. If I simply replace the x coordinates of a graph, then nodes can overlap and edges may cross each other. I would ...
0
votes
1answer
87 views

Including error bars on graph in Mathematica [duplicate]

Mathematica ListPlot function allows me to plot the above data with omega on the x-axis and CD on the y-axis 1) How do I incorporate the error bars in my data on the graph? 2) Are there any ...