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
15 views

How to use Epilog with Tradingchart

I am making a Tradingchart with data returned from Financialdata. I find I cannot add a line to the chart by giving the option ...
0
votes
1answer
6 views

Filling between more than two boundries

Here is a simple example of what I am trying to do; fill the area described by the three inequalities: $y \le 11 + x \quad \quad \quad \,(1)$ $y \le 27 - x \quad \quad \quad \,(2)$ $y \le ...
3
votes
2answers
85 views

Plot a partition of the sphere given vertices of polygons

I saw in this question that Mathematica can draw spherical triangles. I guess something similar can be done to plot a spherical polygon. I am interested in something similar: I have a set of ...
3
votes
2answers
114 views
1
vote
2answers
44 views

Coordinates of MeshPoints

The output of a set of differential equations solved with NDSolve produces a series of curves and I need to obtain the spacing between these curves at a given level ...
2
votes
2answers
64 views

Why is there always a horizontal tail line on the parametric curve?

I am trying to create a smooth, piecewisely continuous and differentiable curve by using Mathematica's Floor function, which is as in: ...
0
votes
1answer
45 views

Plot a parametric equation in cylindrical coordinates

I'm looking for a way to plot this parametric equation on cylindrical coordinates. r = e^t theta = t+1 z = e^2t Any help would be appreciated
0
votes
0answers
33 views

How can I increase plotting resolution with RegionPlot3D? [duplicate]

I am trying to plot a region with RegionPlot3D, but I have some problems. Here's the code I use: ...
0
votes
1answer
16 views

Barlegend with a different z span for ListDensityPlot

I would like to rescale the colors in a plot and to do this in the same way for the color bar. (So this enables me to have the color bar span a (z) range larger than than the data itself.) I got this ...
0
votes
0answers
35 views

Trying to plot solution curves on top of a direction field

I'm trying to do some diff. eq. homework that requires taking a general solution to a differential equation and graphing a series of possible solution curves over a direction field of the general ...
22
votes
2answers
975 views

Save as pdf broken in version 10.0.2?

It looks like the save as pdf is broken after I update to version 10.0.2. The labels in the plot become a mess. Are there ways to fix it? The Export function works ...
0
votes
0answers
28 views

Set fontsize using setoptions not working in DateListPlot

I'm trying to use SetOptions to set the global font size for DateListPlot plots. My problem is that this is not working. Event this simple test does not change the font size: ...
1
vote
1answer
32 views

Calculate the partial vapor pressures of a variable at xB = 0.75 based on the interpolation functions of the data

I'm having troubles in solving an exercise for an assignment in my Chemistry course. Talking about interpolations, I've already have a graph but I need to:(c) Calculate the partial vapor pressures of ...
0
votes
0answers
32 views

Plot gives different result than direct evaluation (Plot[f[x]] obtains answer while f[x] fails)

I have a fairly complicated function that has its origin as the polarized intensity of light as derived from a so-called response function. In any case, it involves complex exponentials and other ...
1
vote
0answers
41 views

NDSolve Poisson PDE for rectangle with hole

When I solved the Poisson PDE with function NDSolve in a rectangular domain with hole in the center, and search the first derivative with x and y why appear these protrusions on the diagram around the ...
2
votes
1answer
49 views

Improving a jagged Tube[ ] edge

While trying to improve this answer of mine, I found it difficult to get a smoother edge. Any ideas? ...
0
votes
0answers
19 views

FindRoot, plotting and conditionals

I was playing with a linear model of mine and came across with the following problem. I'd like to plot the FindRoot solutions of the model with different parameter values. I already found I nice ...
-3
votes
0answers
33 views

Plotting a logarithmic function with absolute value [on hold]

func[x_] := Log (Abs[x - 4]) + E^x; Plot[func[x], {x, 0, 5}] As you can see I did it above but it will not output the graph, am I missing something or is my ...
1
vote
1answer
21 views

When using PopupMenu other controls stop working

I have an interactive plot in a Manipulate expression with a PopupMenu. I want to be able to select the function being plotted ...
2
votes
1answer
82 views

Dual Axis Histogram

I'd like to plot two histograms on top of one another, but they have very different scales. Is it possible to plot a histogram with two y-axes, similar to the custom function found here for plots?
0
votes
2answers
39 views

How to plot a function and data at the same time?

I know that ListLinePlot allow to plot data, but I would like to compare my data with some analytic function in the same plot. Is it possible to listlineplot data and plot a function at the same time? ...
-1
votes
0answers
33 views

Basic Plot but no output is given [on hold]

f[x_] := (x - 2)^3 + cos(5 x - 10)/10000 Plot[f[x], {x, -14, 14}] I set the function and the output for my graph should look almost like a cubic function, ...
1
vote
0answers
37 views

Mathpsfrag: failed setup at MathPSfragConfigurationTest (UnPSfrag) line (Windows 8)

I'm trying to follow the documentation on how to get mathpsfrag set up on Windows 8 (64-bit). It failed at the line ...
0
votes
1answer
77 views

Equivalent parametric plots don't look the same

ParametricPlot[ {1, Tan[t]}, {t, -Pi/3, Pi/3}] ParametricPlot[ Sec[t] {Cos[t], Sin[t]}, {t, -Pi/3, Pi/3}] The second parametrization does not plot like the first, ...
0
votes
2answers
190 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. However, the contour plot I need to ...
1
vote
2answers
99 views

Using Specularity effects and ColorFunction in Plot3d

I'd like to reproduce the 3d surface of the attached image . What I'm interested in, is the light reflection at the basis of the surface and the rainbowlike color. I use Plot3d and colorfunction in ...
-1
votes
1answer
66 views

How can I plot a graph of an integral?

I want to plot the following function: $$\int \left(\frac{\Gamma (x+1)}{2}-\frac{\Gamma (x-1)}{2}\right) \, dx$$
0
votes
1answer
163 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
8
votes
3answers
350 views

Turning a set of random walk data 45 degrees

I have a set of data that is just a "random" (generated by me, not by computer) sequence of length 2000 of 1's and (-1)'s. I used it to plot a 1-D random walk where +1 is step up, (-1) is step down, ...
0
votes
1answer
60 views

DensityPlot and KroneckerDelta

I have the following DensityPlot: DensityPlot[Sin[x] Sin[y], {x, -Pi/4, Pi/4}, {y, -Pi/4, Pi/4}, ColorFunction -> "SunsetColors", PlotLegends -> Automatic] ...
0
votes
1answer
40 views
4
votes
4answers
130 views

Get Axes Range of Plot?

Say I have some plot plot = Plot[Sin[x], {x,0,10}] (*as an example*) Is there a way I can get the x and y axes min/max values from the "plot" variable? If I ...
3
votes
1answer
49 views

How to change line lengths in LineLegend

How can I shorten the lengths of the LineLegend[] lines in the following plot? Is there a way to control line spacing as well? ...
0
votes
0answers
25 views

about Updating Wagon's FindAllCrossings2D[] function [closed]

I am working with the shortest version of FindCrossings2D, which was provided by Vitaliy Kaurov. Here is Vitaliy's function: ...
1
vote
2answers
192 views

3D Gamma function

I try to plot the following function: Plot3D[Gamma[1+0.5*(n+m)]/Sqrt[Gamma[1+n]*Gamma[1+m]],{n,0,1000},{m,0,1000}] I expect that for m=n and near to it the value ...
0
votes
0answers
32 views

3D scatter plot with specific collor for each dot [duplicate]

I'm a chemist and using cartesian coordinates I've created a 3D scatter plot of my molecule: There is one attribute that I want to show and it is a value that range from -6 to 6, lets say. I'd like ...
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
106 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
36 views

plotting a box in Mathematica [closed]

I know by using UnitBox box of width of any extent and height of 1 unit can be plotted as ...
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 ...