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

learn more… | top users | synonyms (12)

3
votes
2answers
52 views
0
votes
3answers
123 views

3D Plot with the Manipulate Command

I'm trying to make a 3D Plot using the Manipulate command. The code is: ...
2
votes
1answer
61 views

Loops and Graphics in Mathematica

I want to create a loop in Mathematica such that it creats multiple graphs for me. For example, I have a command of the form: ...
11
votes
5answers
2k views

Plotting an epicycloid

I am fairly new to Mathematica and I cannot figure out how to plot an epicycloid. I have plotted some neat looking things in my attempts, but can't make one. I am not looking to make an animation, ...
28
votes
4answers
10k views
0
votes
0answers
24 views

ImplicitRegion RegionPlot fails for circle in 10.4.1 [duplicate]

This must have worked at some point, because the documentation for ImplicitRegion has the right picture. But when I evaluate ...
3
votes
0answers
131 views
+50

How do I numerically evaluate and plot the Fabius function?

The Fabius function is a well-known example in analysis of a non-analytic function that is infinitely differentiable. I want to be able to numerically evaluate the function for any real argument, as ...
6
votes
2answers
616 views

Problem regarding 3D plot of a Möbius strip from a set of 2D points

First time posting here, although an experienced user of WM. I have a problem regarding graphics which I cannot seem to fix, so I am asking for your help. I start with a set of points $(x,y)$ in the ...
6
votes
0answers
32 views

What is the effect of giving ColorFunctionScaling a numerical argument?

(by making a mistake) I realised that ColorFunctionScaling can take a list of numerical arguments rather than just booleans. The following is true for ...
5
votes
1answer
99 views

switch between automatic and manual updating

I have a plot with interactive controls. I'd like to give the user the option between having the plot automatically update (when the plot's parameters are changed with the slider) and having the ...
1
vote
1answer
92 views

How to plot a pair of functions as solid and dashed, but a list of those pairs as different colors, in one plot?

I have a list of pairs of functions: fns = Table[{a*x, a*x^2}, {a, 5}] {{x, x^2}, {2 x, 2 x^2}, {3 x, 3 x^2}, {4 x, 4 x^2}, {5 x, 5 x^2}} What I would like to ...
2
votes
1answer
56 views

My plots are overlapping while using Show[] command [on hold]

I want to display these two equations in one graph. Both are having different values but by using Show command only single line comes in graph. My Code is: ...
2
votes
0answers
55 views

How to make circuit-like diagrams [duplicate]

I was reading through a blog post and found some really nice graphs, and I was wondering how to generate similar ones with Mathematica:
3
votes
1answer
75 views

Easiest way to add labeled axes to a grid?

I have a grid of images and I' d like to add axes with labels for the \ two dimensions. Here's my data: g = Grid@Table[RandomImage[1, {50, 50}], {i, 5}, {j, 10}]; ...
4
votes
0answers
38 views

How does the Contours→{{f_1, g1}, {f_2, g_2}, …} setting work?

I want to plot some wavefronts in Mathematica, and I'm having some trouble reining in one of the options for my ContourPlot3D. More specifically, the documentation for ...
0
votes
0answers
29 views

How to make graph like that [duplicate]

Can I know how to make graph like below: it's a list of disconnected points like {200,5}, {500,10}, .. {1000,15} and then plotted by list plot, but how to add these rounded pins on these points
0
votes
1answer
87 views

Plotting several 2D plots on one 3D graph [duplicate]

I know that there are some similar questions but I don't find the solution to my problem. I have made several 2D spectrum plots from data of txt files (colunm1 vs column2. Each one showing a plot ...
0
votes
1answer
86 views

Making a bouncing ball simulation interactive [on hold]

Problem A ball initially at height $h_0$ above a horizontal surface is dropped at time $t = 0$ with zero initial velocity. When it arrives at the surface, the ball bounces in the vertical ...
3
votes
2answers
47 views

GeoRegionValuePlot not using ColorFunction colours

I have a custom Blend for use with GeoRegionValuePlot's ColorFunction option. ...
0
votes
1answer
47 views

Drawing Arrows to connect points from two separate data sets representing coordinates

I have 2 separate Excel files that I'm importing into Mathematica. Each Excel data file has numerous rows of data containing a coordinate of three columns (x,y,z). I have been able to plot these ...
1
vote
2answers
47 views

Changing Plot Options for two different graphs under Manipulate

I am trying to plot two discontinuous functions, each with different plot options, using Manipulate. In my code, I have defined a function for $z$ and $sq$ in my code. ...
3
votes
2answers
160 views

Intensity variation of image as ContourPlot

I would like to color code the brightness values of an image (8bit, gray scale, 1600*1200 pixels). Each pixel should be color coded according to its brightness value using a dedicated color table. An ...
3
votes
1answer
122 views

1-D Graph in Mathematica

I'm trying to reproduce the solid blue graph on the left hand side in the following picture: The analytical expression for the graph is: $$ - \frac{1}{\tau} \ln \Bigg ( \Bigg [ \frac{|\eta|}{1 +...
6
votes
1answer
265 views

Text on a plane without Rasterize

When I plot Text in Graphics3D it always faces the ViewPoint. I would like to put the text ...
2
votes
1answer
387 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 ...
3
votes
2answers
173 views

ColorFunction with the function of luminance

I want to have a DensityPlot or ListDensityPlot, whose color function is a rainbow but whose luminance is given by another ...
1
vote
1answer
167 views

Visualizing interference of two waves on the plane

I need to make an animation of interfering coherent waves on the plane, that are produced by two sources. I would really appreciate if I am able to change the wavelength. I am quite new to Wolfram, ...
1
vote
1answer
64 views

Dynamic Plot of non-linear function within DynamicModule yields dynamically changing constant line instead of expected behavior

I'm having a problem with DynamicModule; the code below produces a plot with a line that changes value, based on the slider positions of the parameters, which is very nearly what I want; I would ...
4
votes
2answers
140 views

Change lighting in ChromaticityPlot3D

It looks to me like ChromaticityPlot3D has some default lighting, but unlike most Graphics3D functions the Lighting option doesn't seem to have any effect. However, the documentation states "...
0
votes
1answer
57 views

Underflow occurring in computation

I've got an "Underflow occurred in computation" problem. Here's a simplified version of the code: ...
0
votes
0answers
33 views

Parametric region instead of 3D plot when using parametric plot [on hold]

I want to draw a parametric region, that is, a 2d-graph using 2 parameters. However, each time I use ParametricPlot with 2 parameters, Mathematica interprets it as 3D plot. Not even the examples ...
7
votes
3answers
742 views

FontSize problematic when used in LabelStyle

Bug introduced in 9.0 and persisting through 10.1.0 or later Consider the following few examples, each producing a trivial graphic object: ...
6
votes
3answers
415 views

Integrate to calculate enclosed area

I am trying to 'use an integral in polar coordinates to calculate the area enclosed by this curve': The curve is: $r=\sin 2\theta$, $\theta \in [0, \pi]$ which I believe is already in polar form. I ...
12
votes
1answer
262 views

Problem with PlotLabels

Bug introduced in 10.4 and persists through 10.4.1 Version 10.4 introduced the PlotLabels option in ListPlot and similar ...
6
votes
3answers
188 views

Why do Disks become polygons in RegionPlot?

I want to RegionPlot a reinforced concrete section, by drawing a polygon as a rectangular shape, and on top of that, a number of circles as ...
1
vote
1answer
72 views

Switching direction of y-axis

I'm trying to reverse the direction of the y-axis on a parametric plot, with a frame. I'm using ParametricPlot because it was an easy way to switch the x-axis with the y-axis. I have seen many ...
2
votes
2answers
147 views

How do I create a color plot that varies with angle?

I want to create a plot with a hue that varies as $l\theta$. $l$ is an integer and $\theta$ is measured modulo $2\pi$. My specific case is $l=10$, but I want to be able to vary $l$ as well. I have ...
1
vote
1answer
55 views

Framed Background and ImageMargins

I want to make some description on my plots, but I can't make it good. First I tried this: ...
0
votes
0answers
21 views

Change Density/Number of Vectors in a Vector Field Plot [on hold]

Just wondering if there's a way to change the number of vectors shown in a 3D vector field plot. I can't seem to find any options.
3
votes
2answers
208 views

Turning arrowheads off

My thinking was that Arrowheads[0] would turn off the arrowheads. ...
1
vote
1answer
69 views

Mathematica Empty Plot FourierSinSeries function

I'm trying to get a plot of different order Fourier series of the function x-1, why does Mathematica give me an empty plot? ...
6
votes
2answers
126 views

How to scale values for ColorFunction in SliceContourPlot3D?

Trying to help out in the question, Finite Elements 3D, I came across this behavior of SliceContourPlot3D: ...
3
votes
1answer
42 views

ErrorListPlot - Problem with PlotRange

Consider the following example: ...
4
votes
3answers
215 views

How to find the Bottom

While I was thinking about Plot with a reference line and shaded / colored region, I came up with ...
4
votes
1answer
71 views

No font on axes in Plot3D graphics

I am running Mathematica on Linux (Raspbian to be exact), and it seems I am missing some Mathematica fonts: Is there a way to fix this?
2
votes
0answers
114 views

Check Zagier theorem about Mahler's measure

I want to check the following theorem by using Mathematica: (from Heights of Polynomials and Entropy in Algebraic Dynamics, page 22) $\textbf{Theorem}.$ Let $\omega$ denote a primitive $6th$ ...
3
votes
2answers
55 views

How to change the colour of parts of a 3D plot, rather than the whole figure?

By exporting Matlab data to a txt file and importing it with List3DPlot, I plotted the density of states in a nanowire ...
2
votes
1answer
87 views
13
votes
1answer
135 views

ErrorListPlot ignores some exact data points

Bug introduced in 10.0 and persisting through 10.4.1 or later Possible bug? Or am I missing something / expecting too much? Forgive the seemingly obscure data points but they're where I've noticed ...
3
votes
1answer
68 views

Generating plane equation from LinearSolve

I will ask a simple question and might have an issue on the site that explains better about it, but not found. I am formulating a code that defines me an equation that I can generate a plot. ...