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

Show command missing red dots from one of the function

I am facing an issue when trying to use Show command to show multiple graphs within one graph. Show command only shows red dot from one of the graph. ...
38
votes
4answers
2k views
2
votes
2answers
82 views

Why legendmarkers shifted a few pixels after opacity is specified

In below simple graph, if an opacity is specified in the legendmarkers, the plot marker shifted a little bit, can someone please shed some lights? ...
1
vote
1answer
131 views

How to draw the trajectory of a moving particle

I want to draw a 3D graph showing a nanoparticle movements in liquid environment. Basically,the code is like the followings. I used Table to generate the position coordinates instead of using the ...
15
votes
4answers
1k views

Plotting data points: Optimizing size and visuals

The following problem is one that may have showed up to you while plotting a large data collection. Suppose you have a data set of say 1 million points. ...
4
votes
2answers
239 views

Short form of Graphics

Sometimes I want to investigate the structure of Graphics/Graphics3D which is produced by ...
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 ...
2
votes
1answer
137 views

Continuous 3D Arg Plot

I have a problem with jumping phase plots using the Arg function in mathematica. I have looked at the other questions already asked here (e.g., continuous phase/Arg ...
2
votes
2answers
104 views

Some major and minor ticks are not shown in Plotting functions

I am using Mathematica 10.0.1 on Windows 64-bit machine. I have two 1D lists as follows. ...
4
votes
1answer
125 views

Filling a curve towards toward the top of the plot

I have a curve. If I want to color fill or shade, not towards axis but upward form the curve, what command can I use?
9
votes
3answers
275 views

How to plot a series using different colors depending on the y-value

I have a sequence of numbers ${x_1,x_2,\ldots,x_n}$. I would like to plot the sequence using ListLinePlot but use a different color depending on if the values $x_i$ are within $a_i<x_i<b_i$. ...
1
vote
0answers
98 views

Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
4
votes
2answers
99 views

How can I make DensityHistogram obey the lower bound in PlotRange in version 10?

Bug introduced in 10.0.0 and fixed in 10.0.1 In version 9, DensityHistogram worked with PlotRange as expected: ...
24
votes
1answer
707 views

What is wrong with triangle PlotMarkers in v.10.0.0?

Bug introduced in 10.0.0 and fixed in 10.0.1 In Mathematica 10.0.0 we have built-in graphical triangle PlotMarkers. Let us look closer on them: ...
4
votes
1answer
140 views

Why GridLines->function does not work with LogPlot?

Bug introduced in 10.0.0 and fixed in 10.0.1 Version 10: This works: ...
13
votes
1answer
258 views

Why does GridLines option fail with Function?

Bug introduced in 10.0.0 and fixed in 10.0.1 The Plot option GridLines can be specified either as a list of explicit values ...
11
votes
3answers
177 views

Strange Behavior in Barchart LabelingFunction

Bug introduced in 10.0.0 and fixed in 10.0.1 BarChart formatting algorithm make me loose some time today in V10. Now, ...
15
votes
4answers
581 views

HoldForm doesn't hold form

Bug introduced in 10.0.0 and fixed in 10.0.1 In Mathematica version 10, HoldForm no longer produces the same results as in version 8 (edit: I only have versions ...
7
votes
3answers
753 views

Problems with PlotStyle in mathematica 10

Bug introduced in 9.0 and fixed in 10.0.1 The simplest way to ask is to post the code of what I'm doing: ...
3
votes
2answers
105 views

Manipulate a parameter within the PlotLabel

Very similar to Parameters in plot titles in which I want to call a parameter from an array using PlotLabel in my plot using ...
0
votes
0answers
16 views

Is it possible to plot a List of functions with different colors in Manipulate (or with substitutions)? [duplicate]

I'm trying to use Manipulate[Plot[... to do two things at once: Plot the multiple forms a function can take depending on the chosen value of a root inside the function, and 2. show how the functions' ...
7
votes
3answers
486 views

How do I plot the images of oriented curves under complex transformation?

I'm working on a complex transformation sketch that I'd like to create via mathematica. I'm working with the function $$w=z^2\tag{0},$$ where its real and imaginary parts are $u=x^2-y^2$ and $v=2xy$, ...
5
votes
1answer
254 views

Strange opacity behavior

I edited my question and included the code: here I make the general definitions for the parametric plots I have to do later (these are simply the definitions of the x and y coordinates of the points ...
3
votes
1answer
158 views

Finding root and plot it on the graph [closed]

Trying to Plot a function and find it's root and mark it with a red dot. ...
20
votes
2answers
553 views

High-quality RegionPlot3D for logical combinations of predicates

Unlike RegionPlot, RegionPlot3D copes poorly with logical combinations of predicates (...
0
votes
2answers
103 views

Replace $z$ with interpolated function and plotting

I start off with this equation $z(x,y) = sin(xy)$. I create an interpolation from $0 < x < 5$ and $0 < y < 5$. I then use this interpolation on a simple function $w(x,y) = x + y + z(x,y)$ ...
2
votes
2answers
188 views

How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
13
votes
4answers
2k views

How do I plot the unit normal field for a surface?

The question is pretty much in the title; I'm about to teach my multivariable calculus students about orientations on surfaces, and I would like to be able to show them pictures. Any ideas?
2
votes
1answer
104 views

Changing the length of the vectors in vectorplot [duplicate]

I have the following code, and I've tried almost everything I can think of, even VectorColorFunction to describe magnitude. I am trying to make the length of the vectors proportional to r^{-2}, and ...
4
votes
1answer
104 views

Why I can not get the plot when I use NDSolve`ProcessSolutions?

Why I can not get the plot when I use NDSolve`ProcessSolutions? Anyone can give me a clue. Thanks a lot! ...
5
votes
2answers
231 views
4
votes
1answer
112 views

How to remove selected wire frames from bounding box in 3D plots?

In 3D plots one can eventually hide the whole bounding box by the use of option Boxed -> False. How to remove only a selected part of the wire frame that ...
1
vote
4answers
2k views

How do I plot x[t] vs. x'[t] (where x[t] and x'[t] are solutions to NDSolve)?

I have a differential equation which I solved using NDSolve. I can easily plot x[t] vs. t, x'[t] vs. t, but.... how do I plot x[t] vs. x'[t]? I tried using the Evaluate function to simplify things, ...
8
votes
2answers
225 views

Attaching a legend to BallAndStick picture

I am looking for a way to add a legend showing the identity of various atoms (with different colours) to this picture. Any Clues? ...
2
votes
2answers
233 views

How do I feed data points into an equation to solve NUMERICALLY?

I start with this equation and solve it numerically for $z(x,y)$ in the range $1 < x < 5$ and $1 < y < 5$: $$ \frac{3}{xyz} - 2x - 3y - 5z = 0 $$ Then using the data points of $z$ above, ...
10
votes
1answer
3k views

Plot electric potential and field

I am trying to plot an electric pottentional of a dielectric cylinder along with it's field. The pottentional is a piecewise function ...
0
votes
1answer
122 views

How to get an Excel-like surface plot with ListContourPlot3D

I'm trying to create an Excel like surface plot from an import of data from an Excel workbook. I get the data without issue. It is a set of percentages in bin ranges over a series of dates. I'd ...
1
vote
1answer
109 views

Selecting from Manipulate for ParametricPlot3D

, Referring to yesterday's "Switching parameter lines on/off in a 3D parametric plot" (Switching parameter lines on/off in a 3D parametric plot) From reply by Bob Hanlon for example, can we pick up ...
1
vote
0answers
58 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
1
vote
1answer
72 views

ListLinePlot of data imported from an Excel file [duplicate]

This is a continuation of another very similar question about how to plot structured data using ListLinePlot. Here is a sample data imported from an Excel file: ...
2
votes
1answer
126 views

(Very) ill-behaved Piecewise Plot

I am interested in defining a function (with arguments: a symbol for a variable and a list of 6 points) that represents a quadratic interpolating spline of the points. Here is my attempt ...
3
votes
1answer
132 views

Switching parameter lines on/off in a 3D parametric plot

In a classroom demonstration for ParametricPlot3D [{f[u, v], g[u, v], h[u, v]}, {u, ... }, {v, ... }] I want to show u lines only without v, v lines only ...
2
votes
1answer
107 views

X-axis offset for LogLinearPlot

I want to set a zero-offset not only for the y-axis like i did with PlotRangepadding, but also for the x-axis. That means i dont want the white offset left of 1E-4 and right of 1E-1, and the ...
2
votes
2answers
94 views

StreamColorFunction ignored when setting to the RGB color

Recently I needed to color streamlines with exact color (e.g. RGBColor[0.1,0.478,0.5]). The help (http://reference.wolfram.com/language/ref/StreamColorFunction.html) suggests, that this can be ...
5
votes
1answer
134 views

Is there a way to make an interactive plot so one can pan and zoom?

My googling efforts returned nothing so I thought I'd ask here. I often make a ListPlot[] with a huge array, and sometimes it has smaller features that I'd like to take a closer look at, but aren't ...
9
votes
3answers
285 views

Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
3
votes
1answer
123 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
8
votes
1answer
638 views

Exporting plots with Cyrillic text elements to pdf

I'm trying to export a plot with some added notes which happen to be in Russian. Using Mathematica 8.04 and WinXP I evaluate ...