Tagged Questions

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

learn more… | top users | synonyms (4)

3
votes
2answers
107 views

Plot a space curve and its curvature

The vector is < te^t, e^-t, Sqrt [2]t >, where -5 <= t <= 5 I have to plot the space curve and its curvature ...
1
vote
1answer
57 views

Unmapped white region in ContourPlot, PlotRange -> All does not fix the issue

When I try to create a ContourPlot of the magnitude of the following vector I get a white area that should be filled with values. Running the following code: ...
5
votes
2answers
83 views

Labelling a subset of contours using ListContourPlot

I have a data set with entries of the form [nx,ny,E] and have made a contour plot of this data. I would like to add labels to only a subset of these contours, for instance every other contour. How ...
-1
votes
0answers
60 views

Find intersections of great circles [duplicate]

I would like to plot out the intersections of great circles as dots. Here is the code to display the sphere with great circles (Original post http://mathematica.stackexchange.com/a/19350/193) ...
1
vote
1answer
32 views

Frame labels for Overlay of two plots to look like plot with two y-axes

I have a two time differential equations system: A[t] and B[t]. (I am omitting their specific form.) I would like to display the ...
2
votes
1answer
79 views

ListPlot with background image?

I need repetitive plots like this below. I invented that I refuse to use pen and I will plot the points in Mathematica, then change opacity, then change contrast and voula get the points to the graph ...
0
votes
0answers
17 views

Use intercepts to plot a plane [duplicate]

The plane is 6x -3y + 4z = 6 and I found the intercepts are: x = 1, y = -2, z = 3/2 I have to use Plot3D to plot the plane formed by these three points. How can I do that?
1
vote
2answers
67 views

Forcing Ticks on Lower Left Corner of Plot

I have a graph that looks like this: I need to have it labeled so that 14 appears in the lower left (I know it's obvious but that's what the publication I'm working with wants). That makes the ...
3
votes
2answers
218 views

Should we invest in Apple?

Ticker[comp_String] := Interpreter["Company"][comp] /. Entity[_, x_] :> x ticks = Ticker /@ {"Apple", "Google"} {"NASDAQ:AAPL", "NASDAQ:GOOGL"} ...
1
vote
2answers
64 views

ListPlot3D with small (but acceptable) precision

Consider the following minimal example: ...
5
votes
1answer
105 views

ListLinePlot of multiple series with data value and legend appearing as the cursor moves over ploted lines

I have multiple series and I am plotting using Mma's ListLinePlot function. But I am trying to implement a feature to my plot so that I can view legend and corresponding values of the series at a ...
6
votes
4answers
193 views

Question in ParametricPlot3D, how to join the minima of a {x,y} function

Thanks to my previous question I have plotted the function with the following code: ...
0
votes
0answers
32 views

Trouble with defining a function and plotting it [closed]

I encounter an error message when attempting to plot a function N(x,y) defined using already defined functions. The message received is: N::nosym: "N[x_,y_] does not contain a symbol to attach a ...
2
votes
1answer
69 views

How can I adjust ContourPlot in Mathematica?

I have problem because of the max point and min point, when I have too high or low data point, it just make it white. Here is example of data ...
5
votes
3answers
155 views

Plotting jump function without vertical lines

Consider this list plot: ListPlot[{{0, 0}, {1, 2}, {3, 4}, {4, 2}, {6, 0}}] I want to draw a jump function in this list plot such that for each point I get a ...
1
vote
0answers
46 views

Position ticks labels at the other side of the axes [closed]

I use ticks label both for scale (0.8, .9, 1.0, ... ) and for marking specific values of interest (with custom text). I'd like the numbers to be above the axis and the text below it. I was able to ...
0
votes
2answers
90 views

How to draw the following plot in mathematica? [duplicate]

I have a function (x^2-9)^2. I can plot it with x-range{-3,3} so that three extremum s can appear in the plot. I add another axis y ranging{0,10}. I want to plot the previous function (x^2-9)^2 at ...
4
votes
3answers
173 views

Changing the atom color for plotting xyz-files

Mathematica takes the standard color code for atoms when plotting an xyz file, but I want to customize the color for the specific atoms. I really become desperate as I did not get it so far. ...
1
vote
0answers
48 views

Displaying a matrix as an array of solid rectangular blocks [duplicate]

I would like to plot an array of numbers as a surface, with each number the height of a square, and with the squares connected to adjacent squares with vertical rectangles, up or down as appropriate. ...
2
votes
3answers
128 views

Plotting a plane using intercepts

I have a plane 2x + 5y + z = 10. I have determined that its intercepts are: x = 5, y = 2, z = 10 I need to use ...
2
votes
2answers
86 views

Speed up ContourPlot

I created the following code, but the contours are drawn slowly with the movement of the slider, could you advise me how I should optimize the code? ...
1
vote
1answer
105 views

Country density plot of lines (highways)

I love solution from question (histogram as well as distrubution) http://mathematica.stackexchange.com/questions/31948/show-density-plot-on-us-map#=. But both cases are a bit more difficult in my ...
2
votes
1answer
76 views

thicker axes in 3d plot

I am new to Mathematica, and am not able to figure out how to make the axes in a ListPlot3D plot thicker. For some reason assigning a larger value to FontSize doesn't do anything. Would appreciate any ...
0
votes
1answer
48 views

ListContourPlot3D won't plot

According to the MMA 9 help: ListContourPlot3D accepts input as {{x1,y1,z1,f1},..........} and at position ...
1
vote
1answer
51 views

Different distance in .jpg plot and .eps

I noticed that when I run my code to draw a plot: ...
4
votes
2answers
135 views

Ploting transition dipole moments in a 3D structure

I want to plot the transition dipole moment vectors on their respective position. For example one transition dipole moment have a position vector like R now at this ...
3
votes
1answer
197 views

Pie/doughnut chart smarter labeling

There are numerous options in Marthematica for pie chart labels positioning: ...
0
votes
0answers
49 views

Distance between ticks and axes

I draw a plot which looks like below Is any way to increase the distance between ticks and axes? I mean, from my point of view, the ticks below the x ...
1
vote
0answers
30 views

Sizing elements correctly in a DistributionChart with custom ChartElementFunction

This is a follow-up question to Histogram scale error when using DistributionChart; Weird output of DistributionChart is also related. I'd like to make a DistributionChart where the elements are ...
5
votes
2answers
90 views

PolarPlot with Dashed and PlotRange freezes for simple function

When I plot PolarPlot[1/(1+Cos[6-t]), {t,0,2\[Pi]}, PlotRange->{{-4,4},{-4,4}}, PlotStyle->Dashed] everything works normally, but when I change the ...
1
vote
1answer
44 views

Place legend without border above the plot

I use Mathematica 7.0 and as far as I know, there is not method PlotLegends, only PlotLegend. I want to set my legend - without background, shadow and frame - above my plot, as in the example belowe: ...
2
votes
1answer
103 views

Plot: How set markers in plot in front of axes

I draw a plot using ListPlot. But I noticed that PlotMarkers are 'covered' by the axes; see example below: I was trying to ...
2
votes
2answers
59 views

Parabola plotting tangential to x = const, and y= const

ContourPlot[ pm Sqrt[x - a] + pm Sqrt[y - b] == Sqrt[c], {x, 0, 2 a}, {y, 0,2 b}] plots a parabola, but only a part between points of tangency (a, 0) and (0, ...
4
votes
1answer
59 views

Thickness definition for ParametricPlot3D

How is the thickness defined in ParametricPlot3D? For 2D plots, the thickness "is given as a fraction of the horizontal plot range," but how does that work in 3D ...
2
votes
2answers
73 views

Simple plot control

Absolute newbie question: Plot[2x-1,{x,-4,4},GridLines->{Range[-4,4],Range[-8,8]}] works about as expected, except that (a) I would like the tick ...
1
vote
2answers
50 views

Plotting the results of NSolve as Horizontal Lines

Suppose I use NSolve to find the Real approximations to the intersections of two separate functions over some specified range: ...
4
votes
4answers
496 views

Visualizing Line Integrals

I have a plane curve $C$ described by parametric equations $x(t)$ and $y(t)$ and a function $f: \mathbb{R}^2 \rightarrow \mathbb{R}$. The line integral of $f$ along $C$ is the area of the "fence" ...
3
votes
2answers
119 views

Image Size using {w,h}

Mathematica help file says: "With ImageSize->{w,h} an object will always be drawn in a $w\times h$ region, and will be sized to fit in the region. " However: Doesn't look like "and will be sized ...
-2
votes
0answers
19 views

Defining an ORIGINAL derivative function? [duplicate]

NOTE: I do not want to use the Derivative or D functions. – I want to define an original function. I began with this definition of the derivative , which resulted in: Limit[ #, h -> 0] & /@ { ...
0
votes
1answer
40 views

Plot Legends when first argument was generated by Table[]

I can get a plot to generate legends for different functions when these functions are put into a hand-coded list. However, when I generate the list of functions using Table[] only one legend is ...
15
votes
4answers
411 views

Exclude data from a list

Let's create some random sample data data = Table[{RandomReal[{-10, 10}], RandomReal[{-10, 10}]}, {i, 1, 300}]; Then we plot them using ...
2
votes
1answer
118 views

Draw a region bound by a sphere and a cylinder

Here is my code for drawing the region bounded by the sphere $x^2+y^2+z^2=1$ and the cylinder $x^2+y^2=x$. ...
1
vote
1answer
90 views

How to plot $\frac{x^{-2/3} e^ { \left(-\frac{x^{2/3}}{2}\right)}}{\sqrt{2 \pi 9}}$ for negative real numbers?

While trying to $\text{Plot}\left[\frac{x^{-2/3} e^ { \left(-\frac{x^{2/3}}{2}\right)}}{\sqrt{2 \pi 9}},\{x,-5,5\}\right]$ in mathematica, I was initially wondered (though mathematica's silence was ...
2
votes
1answer
39 views

Manipulate Plot with Controller being difference of two variables

I'm not sure if this is possible at all or whether manipulate is the best option to plot this, but currently I'm using the following code to plot Function Func vs. t values for different x values. ...
2
votes
0answers
30 views

ListPlot with conditions Part II

In a previous post Part I @Julian S proposed an interesting method in order to segment the data. A copy of the data file can be found here: data. I know that I should provide a minimal working example ...
2
votes
2answers
162 views

ParametricPlot3D line not smooth

Multivariate parameters appear to present a jagged appearance of integrands (using default Runge-Kutta ODE integration intervals?) in ParametricPlot3D plotting on a single argument. Higher Mesh.. ...
0
votes
0answers
46 views

Can not understand the code to join points into line segments

I'm reading the CDF file from Making Formulas… for Everything in wolframalpha blog. It's hard for me to understand the In[17] code of function pointListToLines. I especially want to know what the use ...
3
votes
2answers
63 views

RegionFunction generalized to plot a different colour/style for the largest expression [duplicate]

I have several functions of two variables defined in some region, say functions[x_,y_]:={0,x-y,Sin[x^2-y]} I'd like a plot to show at a glance the regions where ...
2
votes
2answers
297 views

draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
3
votes
1answer
60 views

Graphs Plotting Discontinuous

I'm trying to plot a graph from the eigenvalues of a matrix I created. The graph shows with discontinuities in it and I was looking for some feedback. Here's the code: ...