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

learn more… | top users | synonyms (6)

0
votes
2answers
67 views
0
votes
1answer
47 views

Plot a circle and create a 3-D revolution plot out of it

If I have the equation (x-2)^2 + (y-2)^2 == 1 I can use a ContourPlot, however am having trouble changing the axes origin. I ...
1
vote
0answers
30 views
4
votes
2answers
164 views
3
votes
0answers
50 views

Incorporate a Range into FindRoot?

I asked the question Storing Variables in "Loops" and Point Plotting yesterday, and thanks to unbelievable assistance, I've almost got exactly what I was hoping for. I have the function ...
1
vote
1answer
72 views

How to plot a function defined by an expression containing integrals [duplicate]

It seems Mathematica does not like it when it is given a function defined by an integral to plot. How would one plot a function $F(x)=\int_0^x\int_0^xf(t,s)dtds$ on a given interval? Edit In ...
6
votes
2answers
93 views

PlotLegends “Expressions” default for ListPlot?

gwr pointed out an apparent problem with setting a default Option value of PlotLegends for DateListPlot. I traced the problem ...
0
votes
1answer
111 views

Plotting curves with different filling styles and gridlines? [duplicate]

Here's a plot of some lines with different styles of filling and one gridline displayed: ...
0
votes
1answer
32 views

How may I avoid ParametricPlot3D clipping? [on hold]

What I am doing: ParametricPlot3D[{Cos[z/2]^6 * Cos[t],Cos[z/2]^6 * Sin[t], z}, {t,-Pi, Pi},{z,-Pi,Pi}] What I get: What I want: what I get, but without the ...
0
votes
1answer
156 views

RegionPlot of an area inside a polar plot (or its equivalent parametric plot)

Let' s take a most simple example for a polar plot, the Archimede's spiral. ...
1
vote
2answers
90 views

Plotting a function with implicitly defined variable

I have a question about plotting a function with an implicitly defined variable. I think the solution should be something similar like here: Define a function with variables linked implicitly but I ...
3
votes
2answers
202 views

Storing Variables in “Loops” and Point Plotting

Given the function $y=\sin x$ defined over the region $-\pi \leq x \leq \pi$, I need to implement a "do loop" such that I sweep over 100 or so points $-1 \leq y \leq 1$ and find precisely the two $x$ ...
0
votes
0answers
58 views

DateListPlot not showing data from a data bin [on hold]

I'm trying to plot a databin using mathematica online and this is my code: DateListPlot[Databin["640I6KQm"]] All that happens is data added manually shows up. ...
0
votes
1answer
59 views

Sum with 2 different variables

I want to plot Contour or Streamplot a function with a sum. The first part (Abs[v/u]>1) looks like this: $L(u,v)=\sum_{s=0}^\infty \frac{(-1)^s}{2s+1} ...
0
votes
1answer
80 views

Variable ViewPoint coordinates [duplicate]

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
1
vote
1answer
48 views

Plotting function in cylindrical coordinates (r,theta,z) [duplicate]

I have a function of two variables (r,theta), and I would like to plot it as a surface using cylindrical coordinates. Based on my research, there is no built mathematica function for plotting ...
2
votes
1answer
126 views

Visualizing how the zeros for this function change as its input parameter changes?

I'm trying to explore how the zeros of a certain parameterized function change as its parameter changes. ...
5
votes
2answers
130 views

What is the syntax to conditionally suppress plotting in version 9?

Bug introduced in 9.0 and fixed in 9.0.1 In Mathematica 7 it is very easy to conditionally suppress plotting of individual lines using If: ...
0
votes
0answers
48 views

The graph of a piecewise function [on hold]

Let $$f(x)=\begin{cases} n,\quad\text{if }\quad n<x<n+\frac{1}{n^3}, \\ 0,\quad\text{if }\quad n+\frac{1}{n^3}\leq x\leq n+1 , \end{cases}$$ Using mathematica, I attempted to draw the graph ...
2
votes
1answer
91 views

trajectory density plot

I want to make a plot that shows the density of trajectories (x-y plots). In other words I want a plot that's analogous to this but with curves instead of points as data. Here's what I'm doing ...
2
votes
1answer
122 views

Plot not working for a phase diagram

Whatever I have tried, I could not achieve to plot numerical values coming from my system of differential equation. It is a optimal control model with two state variables. My differential system is ...
3
votes
1answer
176 views

How could I upload a XLS file to Cloud and then plot it?

I want to upload a file to the Wolfram Cloud and plot the list: So I use the following code to check its head at the beginning: ...
4
votes
1answer
125 views

Unexpected results from trying to solve Laplace's equation

I am trying to find the solution to Laplace's equation: $\dfrac{\partial^2 u}{\partial x^2}+\dfrac{\partial^2 u}{\partial y^2}=0$ over the following region of space: the vertices of the triangle ...
2
votes
3answers
104 views
2
votes
2answers
1k views

Trying to graph trajectory function in Mathematica? Won't Graph?

The exercise is: Define the trajectory function y(x) in Mathematica. Pick the initial speed (in meters per second) equal to ...
1
vote
1answer
212 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 ...
2
votes
1answer
98 views

Problem with code from Stan Wagon's book [duplicate]

Stan Wagon's Third Edition of Mathematica in Action has this code on page 30: ...
9
votes
1answer
64 views

NumberLinePlot missing large segments of interval

What is going on here? Why isn't it extending to the full range? Removing the + 0.0 gives the correct ...
1
vote
0answers
61 views

3D game from my Magic cube [on hold]

I'm a student of design. I created a Magic cube. How can I make this game with Mathematica? I have already imported a mesh *.obj with 192 triangles. If anyone knows how to do this please reply.
0
votes
3answers
276 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. ...
14
votes
3answers
900 views

Problem with ParametricPlot

I'm plotting gear curves, and I observe that for some parameter values ParametricPlot[] does not plot all the teeth: ...
4
votes
1answer
108 views

Finding and plotting roots with parameter

I have the following function: $$u(x,t)=\sum_{k=1}^\infty\frac{v_0 L}{\lambda_k c \sin\left(\lambda_k\right)}\sin\left(\frac{\lambda_kx}{L}\right)\sin\left(\frac{\lambda_kct}{L}\right)$$ and this ...
47
votes
1answer
1k views

Is it possible to define a new PlotTheme?

In version 10 one can define, say, $PlotTheme = "Scientific" Which changes the appearance of all plots. This is fantastic because on the one hand I can have nice ...
9
votes
3answers
227 views

Match colors to plot themes

How do I get the colors to match the plot theme when I use a PlotLegend that is separate to the plots? I have had a look at How to access new colour schemes in ...
4
votes
2answers
1k views

How to plot the 2-D graph of $|x|+|x+y|=1$?

Problem Description: Today,I am countered with a integral problem that I need visualize a 2D graph of the equation $|x|+|x+y|=1$ I plots it step-by-step by hand: When $x \geq 0, x+|x+y|=1$ ...
2
votes
2answers
63 views

How to transpose x and y axis on a LogLogPlot?

how can i exchange x and y Axis of this loglogplot? ...
6
votes
1answer
298 views

Missing tick in plot

Bug introduced in 10.0.1 and persisting through 10.2.0 Consider this ...
0
votes
0answers
37 views

Adding known error bars to a bar plot [on hold]

I want to add error bars that I already have calculated onto my bar plot. I can't seem to find a function that will do this. I've found ways to enter all the data and have Mathematica calculate, and ...
0
votes
1answer
37 views

Axeslabel doesn't work when using Frame and FrameTicks,

I'm using FrameTicks and Frame to get a second y-axis. But then my axes labels disappear. I've solved it by using ...
14
votes
4answers
447 views

LogPlot axes labels destroyed when working in high precision

Bug introduced in 7.0 or earlier and persisting through 10.2.0 or later (I'm using Mathematica 8.) I have a Taylor series: ...
31
votes
3answers
696 views

How can we make publication-quality PlotMarkers without version 10?

Suppose that for certain reasons we are not yet using Mathematica version 10, or we have a version with buggy PlotMarkers. It is well known that the default markers ...
1
vote
2answers
90 views

How to define a sequence of piecewise functions and then plot them altogether?

The following is the piecewise functions I want to define ${f_k(x)} = \left\{ {\begin{array}{*{20}{c}} {\frac{{j - 1}}{{{2^k}}}}&{\frac{{j - 1}}{{{2^k}}} \le f(x) \le \frac{j}{{{2^k}}}}\\ ...
6
votes
5answers
337 views

Help remove annoying vertical lines in a piecewise plot

I use the following codes to define and plot three piecewise functions. ...
5
votes
1answer
88 views

Specifying WorkingPrecision in LogLogPlot produces invalid plots [duplicate]

I seem to have found a bug with LogLogPlot in Version 10. If I specify a working precision, the function produces total garbage. Here is a simple example. The first ...
14
votes
1answer
257 views

Unwanted PlotMarkers appear at non-existent places

Bug introduced in 7.0 or earlier and persisting through 10.2.0 In this simple code ...
2
votes
1answer
57 views

Blank plot when using WorkingPrecision

I have the following code: Inv=WeierstrassInvariants[{1,I/3}] ...
3
votes
1answer
50 views

Display frame-tick labels on top side

I am making a standard framed Plot and would like the frame tick labels for the horizontal axis to appear on the top frame edge. I know I can do this by hand ...