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

learn more… | top users | synonyms (4)

2
votes
1answer
147 views

Plot several lines with different starting points on the x-axis

First of all, I would like to apologize in advance if I don't use the correct terms or if I express myself unclear but I just started to work with Mathematica. I'm simulating electricity prices and ...
3
votes
1answer
783 views

How to find an asymptote of a logarithmic curve

An exponential decay curve has been plotted asymptoting at approximately x=30 (correct for what I am looking at) How can I find the exact value from the curve? I was hoping to be able to use ...
5
votes
1answer
311 views

How can I fix Mathematica's text line-breaking algorithm not to line-break so soon?

I have some custom plotting functions that simplify the placement of footnotes and source notes under the plot. It is important that the line length of the footnotes fills up the available space and ...
3
votes
1answer
212 views

How to restrict ListContourPlot with two criteria?

I use ListContourPlot to show exclusions in a physical parameter space. I have restrictions like A < 5 and ...
2
votes
1answer
238 views

Plot differential equation system in a complex way

Based on this differential equation system: $$\begin{align*} \dot{x}&=f(x,y)\\ \dot{y}&=g(x,y) \end{align*}$$ where $$\begin{align*} f(x, y)&=x^2+y^2-25\\ g(x, y)&=x^2-y^2-7 ...
0
votes
0answers
27 views

Creating Plot with varying scale [duplicate]

I have four series of data that I would like to plot side by side. They look something like this: As the y-coordinate goes from 80 to 50 In the first series, the x-coordinate varies from around 20 ...
3
votes
1answer
1k views

Plot FindRoot for non-trivial function

I would like to plot the results of FindRoot over certain range of inputs. I tried to do this with the code: ...
1
vote
1answer
267 views

Plotting Piecewise function, ExclusionsStyle not shown completely

Suppose I define f[x] := Piecewise[{{1.7*10^-6, 150 <= x <= 200}}, 0] and then plot ...
18
votes
2answers
1k views

How can I draw a 3D cross-section of a 3-torus embedded in 4D Euclidean space?

I have a $3$-torus ($\mathbf S^1\times\mathbf S^1\times \mathbf S^1$) embedded in 4D Euclidean space. How can I draw the cross-section of this $3$-torus cut by a 3D Euclidean space in an arbitrary ...
1
vote
2answers
164 views

Images as labels of barChart

I'm trying to create a BarChart on which images are the labels of each bar. A Minimal example of what I'm trying to do: ...
0
votes
1answer
76 views

Question about rendering axes [duplicate]

I have data points for a circle and would like to plot it with Mathematica. ...
5
votes
2answers
495 views

Mapping higher dimensions to color, opacity, point size, etc

I have a set of points of dimension >3, and I'd like to modify ListPointPlot3D so that the higher dimensions are mapped to different variables, such as color, opacity, point size, etc. so for example ...
0
votes
1answer
531 views

Colorbar doesn't appear

I have a list of data with dimensions $(2000,4)$. I plotted it using ListPointPlot3D, setting the fourth dimension as the color. As follows: ...
0
votes
1answer
104 views

Plotting query - same values on Y-axis / viewing data

I'm new to Mathematica, and have numerically solved two similar functions with the following code; ...
4
votes
1answer
410 views

How to get confidence bands of parameters from a fitting procedure?

I have done fitting of data points with a given model that has two parameters (A and B), using NonlinearModelFit. The result of the fit is the maximum of the ...
2
votes
3answers
468 views

Why doesn't Mathematica plot $n(-1)^n$ with Plot?

I was in doubt if this question should be asked in Mathematics.SE or Mathematica.SE, but I've decided this site would be more appropriate, because I think those who read my question here will know ...
3
votes
1answer
352 views

Issues with ColorFunction Scaling when using RegionFunction in VectorPlot

I was plotting a VectorPlot and restricting it to the physically meaningful region using RegionFunction. To my surprise, the ...
10
votes
4answers
1k views

Problem with ContourPlot

I tried these ...
0
votes
0answers
32 views

How does Plot evaluate its argument? [duplicate]

I have a list of about twenty InterpolatingFunctions that I'd like to plot. They are interpolations from experimental data (frequency spectra between 100 and 5000 ...
0
votes
2answers
574 views

Do/For loop for plots

I have a lot of points that I would like to get shown on a plot. The problem is that sometimes I only have 2 points while other times i have 10 points. I've tried to make a for loop to create a plot ...
1
vote
1answer
855 views

Plotting a complex function [duplicate]

What does it mean if this message appears: {Im[(1-E^Times[<<3>>] f)/(1-Power[<<2>>] f)]-0,Im[(1-E^Times[<<3>>] f)/(1-Power[<<2>>] f)]-0} must be a list of equalities or ...
3
votes
1answer
217 views

Thick border on some ParametricPlot3D objects

Object x should be composed of thick lines, object su should have no or a thin border. With ...
3
votes
1answer
260 views

Reuse ParametricPlot3D plotting options [duplicate]

I create several ParametricPlot3D's that all should look the same: BoundaryStyle -> Thick, ...
2
votes
1answer
313 views

Graphing time-series

I'm currently trying to use data gathered as a function of time (here, the fluorescence of a biological sample), but am new to Mathematica and don't know how to properly specify axis relations (and ...
5
votes
1answer
672 views

What's the simplest way to plot an ErrorListPlot with only y error bars?

Sometimes I get really tired of Preparing data for making an ErrorListPlot using Thread and friends. Is there a simpler way to plot an ErrorListPlot with only y ...
1
vote
2answers
913 views

How to plot vector function r(t) = i + j + t*k

How can I plot the vector function $r(t) = i + j + t\;k$, where i, j, k are unit vectors, and t is the parameter of the function r.
1
vote
1answer
296 views

Plotting & Solving

I'm trying to plot replicate a graph from one of the articles and it has series of equations it has solved. here is my code so far: ...
3
votes
2answers
730 views

Axis labels are clipped (in BarChart)

I have created a bar chart with the below code. My $x$ axis labels have been cut in half for some reason. My $x$ axis heading is also missing. I tried using ...
4
votes
1answer
493 views

Creating plot markers with centered text

I want to create a series of plot markers which are circles, squares etc. with 2-3 letter codes centered within the marker. My current attempt looks like this: ...
11
votes
2answers
730 views

Make good looking histograms from frequency data

I allways do my calculations in Mathematica and I make my histograms using ROOT language. However I am wondering is it possible to make good looking histogram inside Mathematica? A sample of what I ...
1
vote
1answer
130 views

Constrain plot points to below a certain line

I have a set of curves that take on large values when approaching 1. I'm trying to create a straight line with certain slope and then truncate the plot for any curve that goes above that line for any ...
4
votes
2answers
515 views

Triangle mapped on a sphere in $\mathbb R^3$?

How can I map a triangle on an sphere? I want to visualize (plot or animate) it for my student in my Non Euclidean geometry. I have no restrictions on the triangle's kind or on the sphere in $\mathbb ...
5
votes
5answers
4k views

StreamPlot in Polar Coordinates

I want to use StreamPlot to map out the field lines of an electric field $\mathbf{E}$ given by $$ \mathbf{E} = \frac{3D}{4r^{4}}(3\cos(\theta)^{2}-1)\mathbf{\hat{r}} ...
3
votes
1answer
66 views

Restricting a plotted expression to reals in a Manipuate

I have an expression from which I'm trying to create a plot that I can manipulate. The expression contains Abs, and I only want to have it evaluated for reals. What ...
4
votes
3answers
500 views

Defining a new Function using RegionPlot

I'm trying to make images like this: to illustrate 2D integrals to a calculus class. I used the code ...
0
votes
2answers
1k views

Sequence of data in 3D, joining the points

Let me just first say I am not actually trying to find a function for these set of data. All I am doing is joining the points to make a line. Basically let's say I have some data, which I cleverly ...
5
votes
4answers
1k views

Left-aligned PlotLabel?

Is it possible to have the text generated by PlotLabel (or any other function) aligned to the left side of the plot instead of in the center?
5
votes
2answers
160 views

Speed up plot of $\sum_{j\ge1} 2^{-j}(1-2^{-j})^{n-1}$

I'm a beginner at Mathematica. I would like to plot the following function: $${n\over2} \sum_{j\ge1} 2^{-j}(1-2^{-j})^{n-1}$$ However the following code is just too slow: ...
0
votes
1answer
274 views

ContourPlot with parameter

I have an equation for function F[x,y]==0 which first argument x is real and another, y, ...
1
vote
1answer
94 views

Plotting data that lands on the axis

I have a data point that lands right on the Y axis, which corresponds to the index of refraction of some sample. the x axis is the mole fraction of chloroform of my samples. How do I get the first ...
5
votes
2answers
246 views

Better method for creating a tuple out of two lists

I just combined two lists using this method ...
5
votes
2answers
199 views

How to set PlotLegend Number Format

Is there any way to make Mathematica to show the legend labels like a real number rather than in fraction form? I read the BarLegend options, however they are just ...
4
votes
1answer
161 views

Padding plot ticks with zeros on the right

I would like to know how can I make a real-valued plot tick pad with a zero to the right of the decimal point on integer values. This is what I have: ...
12
votes
3answers
518 views

Custom functions by delegating options in a specific way and using core functions

I'd like to create a custom function that does essentially the same as a core function of mathematica but uses different default settings. Example: I want a Plot function that uses Mathematica's core ...
1
vote
1answer
747 views

Use Results from Manipulate Plot NDSolve to create another plot versus variable used in DE

I created my plot using using this input: ...
2
votes
3answers
119 views

BarChart without axes neglects the last zero of a list

Creating a BarChart with {1, 2, 3, 0} as BarChart[{1, 2, 3, 0}, Axes -> False, Frame -> True] gives me only the first three bars, a chart identical to just ...
2
votes
2answers
2k views

How can I change the position of my plot legends?

As the title indicates, I want to change the current position of the legends in a combined plot. The Mathematica code I used is ...
0
votes
1answer
286 views

Why don't I see all the grid lines in my combined contour plots?

I am trying to display four continuous functions, but when I try to combine them withe a single Show, I can't see the second vertical line. I suppose the problem is ...
3
votes
3answers
5k views

Label points in plot with a text

I'm a newbie at Mathematica and I couldn't find how to label the maximum and the zero of a simple function in Plot with their names: ...