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

learn more… | top users | synonyms (11)

-3
votes
1answer
73 views
0
votes
1answer
83 views
3
votes
1answer
95 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
287 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
26 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, ...
3
votes
2answers
275 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
170 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, ...
0
votes
3answers
92 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: ...
0
votes
1answer
71 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 ...
1
vote
0answers
73 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
72 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: ...
0
votes
1answer
71 views

Using custom ticks with RegionPlot3D

I'm trying to change to plot a sphere using RegionPlot3D and look at how the shape of the sphere changes when you use a logarithmic scale (or any nonlinear scale) ...
0
votes
1answer
185 views

ListDensityPlot and RegionFunction

I have the following ListDensityPlot : ...
4
votes
1answer
258 views

Aligning Overlay and GraphicsGrid plots

I need to make several plots displaying a ListPlot overlaid with a Histogram and close to it (ideally even sharing X axis) a ...
7
votes
2answers
182 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
1answer
101 views

axis label text rotation

I've got the following script: ...
7
votes
1answer
230 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 ...
0
votes
1answer
989 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 ...
2
votes
1answer
274 views

Positioning a subplot using Inset in the main plot with image or scaled coordinates

I have generated a plot and subplot fine, and I would like to position it in the top right corner of the main plot. Ordinarily I would use the position options. However, my notebook is used for ...
1
vote
2answers
195 views
3
votes
1answer
310 views

Customizing output of Spectrogram[], units of Periodogram[]?

I am analyzing spectrum of recorded sound. For that purpose I am using Mathematica's built in functions Spectrogram[] and Periodogram[]. I have three questions regarding those: What is the way to ...
2
votes
2answers
162 views

Why does ErrorListPlot not work with predefined list?

I have the following list and try to plot it in an ErrorListPlot. The result of ...
0
votes
2answers
133 views

Does not Show as combined plot

...
1
vote
1answer
492 views

how can I change the length/size ticks in a framed plot?

Err...Let me make clear the meaning of "the length of coordinate notation/marker". suppose I have frame1 by ...
0
votes
2answers
165 views

How can I make a 3D Plot with NDSolve?

I have a system of coupled ODEs which I am solving using Mathematica. I am solving these using NDSolve: ...
12
votes
1answer
503 views

Hexagonal Mesh on a 3D surface

I am new to Mathematica, and I am trying to create a 3D hexagonal mesh on a 3D surface. It is very similar to what was done in this post Create a torus with a hexagonal mesh for 3D-printing, but now ...
1
vote
1answer
122 views

How to draw dots at beginning and end of range when plotting [duplicate]

I'm trying to plot a Piecewise function which should look like this: How can I have similiar dots (filled or empty) at beginning and end of range? ...
0
votes
0answers
22 views

Graphing rational functions showing asymptotes and holes [duplicate]

Is it possible in Mathematica to input a rational function and produce an output of a graph of the function showing asymptotes and holes?
0
votes
1answer
118 views

Plot financial data: timestamp + value

I have approximately 250,000 rows of data that looks like: ...
7
votes
2answers
497 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 ...
1
vote
1answer
167 views

How to plot multiple yearly data in one graph

There is a dataset: for each year a single data for 6 seas. I would like to have a graph to visualize paralel changes. This is what I attempted to reproduce ...
0
votes
1answer
59 views

Range errors when plotting solutions of systems of equations

I would like to plot the points $(a,b,c)$ that simultaneously satisfy the equations $$a^2+b^2=1,\qquad ac+b\frac{1+bc}{a}=0,\qquad c^2+\frac{(1+bc)^2}{a^2}=1.$$ I attempted to do this with ...
0
votes
1answer
69 views

Adding a plot to a DynamicModule

How can I add a Plot or Plot3D to my DynamicModule (on the same panel) without having a negative impact on the original function? I tried different (for me) logical ways to add the Plot function, but ...
3
votes
1answer
439 views

How to solve Laplace equation in 3D?

Basically I want to solve Laplace equation for truncated octahedron in a cube matrix. The boundary condition is Concentration u=200 at surface of truncated octahedron and u=15 at boundary of cube. I ...
6
votes
1answer
522 views

Straightforward way to make a multicolumn line legend?

I have a plot showing 8 curves, and I'm able to define a line legend styled in either a column or a row version. I have the following code: ...
-2
votes
1answer
291 views

plot sum of two function [closed]

I am trying to illustrate sum of functions. I have one function x*x - 8*x + 7 and another Log[2*x + 4.5] I understand that I ...
6
votes
3answers
242 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 ...
4
votes
2answers
154 views

Paired Bar Chart with negative values

Dear Mathematica group I want to plot negative values using PairedBarChart in V9 However, with this code ...
1
vote
1answer
126 views

3D Plot for Attractive and Repuslive Field Functions [closed]

I am using Mathematica to plot the total potentials (which is the sum of an attractive potential field and a repulsive potential field) - This is related the Artificial Potential Field Method in ...
3
votes
2answers
167 views

How to put triangle graphics on a plot of two seperate related lists?

For 7 different discharge energies, I have two gases (1. pure helium, 2. a helium oxygen mixture) being heated up. Those 14 settings then enter a tube, in which the system cools off. In the list ...
0
votes
2answers
270 views

Finding the equation of tangent lines where a function has a specified slope [closed]

A function is defined as f[x_] := 3x^4 + 8x^3 - 24x^2 - 48x + 19 I need to find the equation of the tangent lines at the points where the tangent line has a ...
0
votes
1answer
143 views

Drawing a pair of lines to the x-axis and y-axis from a point along a curve

I have some plot like the following: Plot[Cos[x], {x, -10, 10}, AxesLabel -> {Style["x-axis", 12], Style["y-axis", 12]}, ImageSize -> {650, 650}] I'd like ...
0
votes
1answer
55 views

How can I modify text in a Graphics produced by Plot?

I have a Plot in a cell of a Mathematica notebook. The Plot was made with data that I no longer have. I want to modify the label of one of the axes, without running the plot command again (since I ...
7
votes
4answers
1k views

Combining 2D slices into a 3D plot

I am currently trying to combine several 2D plots into one big 3D plot. The 2D-plots are simply input-results from calculations (so these things have 2D coördinates (x,y)). The results depend on an ...
1
vote
1answer
83 views

ListAnimate for nested lists with two sliders

I have a very complicated function of three variables (a,b,c). Now I want to plot the function value as a function of a while ...
2
votes
1answer
168 views

How to use ContourPlot3D with a constraint

I want to draw $$G=G(P,T)=-k*T(1+\log{\frac{(V-1)T^{3/2}}{\Phi}})-\frac{a}{V}+P*V$$ but $V$ is an implicit function of $P$ and $T$, which is $(P+\frac{a}{V^2})(V-b)=k*T$ I tried to solve for $V$ ...
7
votes
6answers
327 views

PlotLegends for ListPlot with more than 15 curves?

fixed in 10.1 (windows) I'm running into trouble getting the right PlotMarkers in the legend of a ListPlot of many curves. ...
1
vote
2answers
221 views

How can I show cursor coordinates as I move the mouse over a contour plot?

How can I show cursor coordinates as I move the mouse over the contour plot in the result displayed by evaluation the following: ...
0
votes
0answers
28 views

Options from Graphics command [duplicate]

What do it mean $[[1]]$ in the following command? Graphics[...][[1]] How about the following command? ...