# Questions tagged [plotting]

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

15,613 questions
Filter by
Sorted by
Tagged with
83 views

### Plot an ODE solution for a list of specific constants [closed]

Let's say I have a 1st order ODE and want to plot the solution. What I have been doing until now is: ...
142 views

### blank part in the contour plot [duplicate]

Why did my listcontourplot have some blank part like the below? I've checked that my data is in the range of [2.5, 4]. Is it because that it changes so fast??
• 31
178 views

### Some problems about ListPlot3D, plot 6 faces of a 3D region [duplicate]

I get the data of six faces of a 3D region. ...
• 25
134 views

### Plotting a 4dimensional spherical function In mathematica [duplicate]

Im trying to plot the results of the schroedinger equation for hydrogen in mathematica this is the function I defined: ...
164 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 ...
• 155
401 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 ...
• 313
123 views

### How substitute an AbsolutePoint for a car drawing or car icon?

$CAR$ ...
• 145
273 views

### Plot financial data: timestamp + value

I have approximately 250,000 rows of data that looks like: ...
• 71
29 views

### Options from Graphics command [duplicate]

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

### Graphics Plotfield

A number of older books use the command: <<GraphicsPlotField But Mathematica 10.0.2 says it cannot find it. Now, I know ...
• 14.8k
283 views

### GeoLabels/Tooltips in Geographic Plots from Dataset

I am looking to plot a list of list of regions, and attach some data to the GeoLabel. All the data is stored right now in a Dataset that contains entries of the form ...
• 1,030
32 views

### Simple Sin plot generates unexpected output? [duplicate]

I an trying to do a very simple smooth Sin wave... Plot[Sin[ 2 Pi 440 t], {t, 0.0, 0.1}] ...but I am getting an unexpectedly non-smooth plot for it... What is ...
• 101
387 views

### How to fix the PlotRange on LogPlot? [duplicate]

I'm plotting families of Boltzmann'esque distribution functions $\propto\exp\left(-{\dfrac{\varepsilon+{\mathcal O}(\varepsilon^2)}{k_\mathrm{B} T}}\right)$. But it won't let me fix the ...
• 1,485
134 views

### Using ContourPlot of a Potential surface Image

I did this image, using Contour plot: and the code is: ...
• 861
175 views

### How to change the plot starting point? [duplicate]

I tried to translate this Python plot to Mathematica: Python: Mathematica: ListLinePlot[RandomReal[{0, 1}, 10], Filling -> Axis] The Mathematica code works ...
• 459
45 views

### AspectRatio on ListLinePlot only considering ticks and not values [duplicate]

I want to plot some data in a ListLinePlot where the x- and y-values differ by at least 2 orders of magnitude. In this plot the x- and y- axis should not be scaled differently. This is the result that ...
• 619
942 views

### Export graphic as Pdf gives incorrect font size [duplicate]

In Mathematica 10.0.2 I have this plot: Now, when I export as pdf, I have these huge fonts. Any workaround?
• 1,911
123 views

### ErrorBarFunction styles [duplicate]

I am having trouble making sense of the help I have found for the ErrorBarFunction command. I am looking for basic instructions on how to change the width, style, and color of my error bars. ...
• 565
156 views

### Weird Vectorplot

I would like to Plot a simple Vector Field, all vectors normalized to one. If i for example take a evenly distributed sample of the field and plot it with the ListVectorPlot function, i get a plot ...
106 views

### trouble with adding a legend to a plot

I am having trouble with adding a legend to a plot. this is my code,I tryed to use serval things,like ...
• 15
99 views

...
• 1,020
50 views

### Plotting the real positive solution to a parametric equation [duplicate]

I have the following parametric equation $$x^2-a=0$$ where $a$ is a given parameter. I would like to plot the nonnegative real root ($\sqrt{a}$) using NSolve as $a$ varies from $0$ to $1$. Can ...
• 103
772 views

### Plot table versus table [duplicate]

I have two tables like: nex1 = Table[l3*10^3/4*10^14, {l3, 1, 30, 1}]; nex2= Table[l4, {l4, 1, 30, 1}]; How can I plot nex1 versus nex2 so that nex1 is x axis ...
• 37
398 views

### Break axes on listcontourplot

I would like to insert a break on both of the axes of a ListContourPlot near the origin, to include a datapoint which has axis values quite far away from the others. The question is similar in nature ...
• 3,167
104 views

### How to find only the negative Imaginary solutions and positive Real solutions?

Following this post Help Please : Error in plotting the solutions of FindRoot , I want to plot only the negative Imaginary solutions Wi(K)<0 and positive Real solutions Wr(K)>0. Please, how do it? ...
• 415
29 views

### Filling not working when function in SetDelay [duplicate]

I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work: ...
• 1,854
53 views

### Direction of change plot in 2 images taken from video

I have two successive images from a video and I would like to plot the largest direction of change from the first image to the second image as a vector plot. For example, if image 1 was {{0,1,2},{0,3,...
• 947
287 views

### Distance between ticks and axes [duplicate]

I've created a plot using the following code: ...
• 787
150 views

### Using Animate with ListPointPlot3D on more than one list

I have a couple orbits defined which have been mapped into one array as shown: ...
• 375
109 views

### Unequal behaviour of FindRoot to two similar functions

Unfortunately, I have some difficulties to plot a function. Here is my code: ...
• 2,445
53 views

### Plot is not accurate [duplicate]

I defined a matrix and use it to transform a square defined by four points. (In[85]) It seems the transformation keeps the length of the square. (In[91]) Now I plot the original square, the axis of ...
• 307
71 views

### how to create a slope field in mathematica? [duplicate]

Anyone have any good resources for learning mathematics, already sufficient in JAVA. not math... only in calc 2. I want to plot the slope field of ...
135 views

### Timing: how make a program to work faster using built in functions and tables

I want to improve my code to make it working faster even for very large numbers. ...
• 787
23 views

### Manipulate Tutorials? [duplicate]

I am wanting to combine equations with sets of static data points in a manipulate and do the curve fitting by moving the slider bars on my independent variables. The best examples of this art may be ...
• 81
93 views

### Graphics elements in a 2D lattice [duplicate]

I'm trying to write a small piece of code that will take the RHS of a first order linear ODE and return a slope field sampled at a few points. I have written: ...
• 1,165
780 views

### Viewpoint options for a 3D plot [duplicate]

Let's say I created a 3D plot in Mathematica. It's not oriented the way I want it, so I manually rotate it (in the output cell) to a desired view. (I tried playing with some view options in the code, ...
• 300
90 views

### add a legend show the expression for each contour? [duplicate]

I am trying to visualizing the unit circle under different norm functions, here is the code: ...
• 275
53 views

### How to find the x-axis intersections/zeroes of a parametrized integral? [duplicate]

Consider the situation with this functions, ...
• 1,171
27 views

### ?AspectRatio? setting to obtain equal length pr pixel on all axes [duplicate]

Like these does: Show[Graphics[Rectangle[{2, 1}, {15, 2}]]] ParametricPlot[{t,t t},{t,0,2}] how do I create a Plot[] with ...
• 19.9k
558 views

### An error message with NIntegrate and inability to plot the integrand

I took a function of x which depended on parameters on m,n,a,y and then first summed up the n from -Infinity to Infinity and then I set the other parameters to some random values and then I asked it ...
• 1,171
179 views

### How to add a subplot in corner of plot? [duplicate]

How is something like the plot with subplot shown in this image achieved with Mathematica?
• 2,125
76 views

### How to plot data of complex numers [duplicate]

Here I have some output calculated for different values of some parameter. I want to plot these points in complex plane Re, Im and present them with ListLinePLot. How can I do that, I tried many times ...
• 1,099
23 views

### Question about a ParametricPlot with a shading grey family of lines and/or different sizes [duplicate]

So, I have this function of the polar angle $\theta$, with a varying parameter $t$: {Cos[\[Theta]] (1 + Sin[t]), Sin[\[Theta]]} and I want to draw it in a ...
• 133
2k views

### Mathematica Semilog (LogLinearPlot) using x,y points from table [duplicate]

I am trying to use the LogLinearPlot in Mathematica 9 to create an x-axis only logarithmic plot that looks like this (Based on N^1.85 graphing paper) http://pingfire.com/ What it does is model a ...
73 views

### Mathematica how to plot objects with labels in 3D plot [duplicate]

The following code plots 3 cuboids, each with a label at the lower left vertex. The label is meant to be part of the cuboid object. Yet, since Text[] is used to ...
53 views

### How to manipulate lists to get only part of the value [duplicate]

This is really a question about manipulating the output of Maximize. I have a function of 2 variables, defined thus: ...
• 143
31 views

### How do I project a list of strings from another list to use in ChartLabels? [duplicate]

Say I have the following: ...
• 5,117
60 views

### Custom FrameTicks not working [duplicate]

I would like to have a custom ticks on x-axis on my ListPlot, but nothing is showing, what am I doing wrong? ...
• 667