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

learn more… | top users | synonyms (11)

0
votes
1answer
35 views

Solving and Plotting Infinite sums over solutions to transcendental equation involving Bessel functions

I am trying to use Mathematica to plot the following equation $E(q,\Delta)$ vs $qa$, for set values of $ D \Delta/a^2$ and $\bar\rho a/D$. I have looked at other stackexchange posts which deal with ...
3
votes
2answers
24 views

Show and PlotLegend row spacing

In this toy example I make some plots, each with a legend, and combine them with Show. All the legends are assembled into a column which is helpful but it is too high for the size of plot. How can I ...
1
vote
3answers
50 views

Moving a plot label along with a moving threshold line

Here is a simple Manipulate expression with a threshold. ...
0
votes
0answers
32 views

Plot a function with three parameters subject to conditions

I have no idea how to plot function with parameters/conditions. Can someone give me tip how to do it? Conditions Where x ∈ [0, 1] a, b, c ∈ R Finally I have ...
1
vote
1answer
152 views

planar Conic Sections plot

Among answers of ConicsAssemblyQuery, I posted images that are not pretty. In particular, the parabola is elusive due to large parameter step. Please help. The program attempts to translate and ...
1
vote
1answer
52 views

ListPlot problem

I have the following example: x = {1, 2, 3, 4} y = {{1, 2, 3, 4}, {2, 3, 4, 5}, {3, 4, 5, 6}, {4, 5, 6, 7}} Now I can plot: ...
-2
votes
1answer
56 views

How can I plot conditional expressions?

I want plot an expression that includes some integrals. The values of these integrals are conditional expressions, and this is making plotting difficult. My code: ...
-2
votes
0answers
24 views

plotting conditional expression with mathematica [duplicate]

My code that I previously asked, is in this way(that first I define parameters): ...
7
votes
1answer
66 views

ArrayPlot with a user-defined color function is misbehaving

I am using ArrayPlot to show some arrays with values from 0 to 1. I want 0 to be black and 1 to be white, so I am using: ...
4
votes
2answers
46 views

How to make height of PlotLegend the same as height of plot which has a fixed horizontal width

This is a problem of Legends in density plot. As pointed out by this post. Generally we want to same height of legend bar and plot. The code for the basic case is ...
0
votes
1answer
64 views

Add color bar in SphericalPlot3d in version 8

I want to add a color bar in my spherical plot. I have tried the BarLegend command in version 8 but it seems not working. Could anyone help me out a bit? I wrote ...
3
votes
1answer
108 views

BoxWhiskerChart with logarithmic axes 2

I actually already found my answer on the question, however it is not working. see BoxWhiskerChart with logarithmic axes I want to create a boxwiskerchart with a logaritmic axes. But when I try ...
48
votes
4answers
3k views
5
votes
2answers
117 views

How-to ensure consistent legend when using PieChart?

Description: I would like to enforce consistent legend and style throughout dynamic PieChart evaluation. Problem: Based on current implementation, the color ...
4
votes
3answers
121 views

Extracting *firstly roots* from some lists to plot their pairs values

I have two different lists as list1 and list2. Their ListPlot3D of them are: and As shown in these plots, there are some points of which ...
0
votes
1answer
25 views

Probems using 2 For and a AppendTo to cycle through my Equation to solve some matrixes

I am trying to solve a few problems here. I have an equation with multiple variables that I am trying to solve in For loop method. I will attach the file below. In addition I am trying to get it to ...
0
votes
0answers
67 views

ListContourPlot cannot plot enormous datafile

I would like to create a ListContourPlot from a list with about $7,000,000$ triplets (x,y,z) using the following code: ...
1
vote
2answers
77 views

Add marks in multiple functions in Plot

I am looking for any options to draw 2D plot of differently marked curves for given functions, thus one can distinguish it by the provided legend. For instance: ...
7
votes
0answers
81 views

Override a PlotTheme element at the Options level?

Edit: I am still using version 10.1; has anything changed by 10.4.1? Plot properties defined in a Theme override (supersede) properties defined on Options. This ...
0
votes
2answers
34 views

Logarithmic scale in an ParametricPlot obtained from ODE boundary conditions

How do I plot an ParametricPlot with the x-axis using an logarithmic scale? Since I need to use an ParametricPlot, I can not use the LogLinPlot[] and I also was not able to find any viable Solution in ...
-2
votes
0answers
55 views

How can I write the coding in mathematica based on time? [on hold]

Hi, I need some help for my problems. May anyone help me in coding I want to make For loop based on time for this matrix. I want to change to look the changes of alpha3 when increasing of time with ...
0
votes
1answer
41 views

Contour plot with a condition

I have a simple contour plot and wanted to find solutions only when both x and y are integers. The following code doesn't seem to work. ...
4
votes
1answer
46 views

Changing style of label boxes in TimelinePlot

When I export the below TimelinePlot to an .eps figure (to include in a document), the boundaries of the rounded boxes surrounding the label text do not appear. ...
2
votes
2answers
122 views

Direct way of listplotting each 2 or 3 points?

I have a list of points myList={{x_1,y_1},{x_2,y_2},...,{x_n,y_n}} I want to plot not all the points of this list but to plot every $k$ points. For example, if I ...
2
votes
1answer
60 views

Superpositions of colored gratings

I created fork grating on mathematica and it is gray tone image, I need to conver it into Black and Blue image instead. And I use the Image code to do that but it didn't work! is there another way to ...
5
votes
2answers
395 views

How can I create an interactive ColorFunction using Manipulate?

I am trying to specify my own colors and scaling for the ColorFunction in ListDensityPlot. I have several lists of 2D values ...
10
votes
1answer
131 views

Issues with PlotRange!

When use the following command to plot a graph: Plot[x^Gamma[x - 1], {x, 0, 1}] or: ...
1
vote
3answers
224 views

Only show part of a cube below an intersecting plane

I plot a cube and a plane. I just want to show the part below the plane. The code: ...
0
votes
1answer
56 views

Why this function can't be plot [on hold]

Situation I have define a function in Mathematica like this: phi[t_] := Subscript[\[Phi], m] Cos[(2 \[Pi])/T t] Then I specify some parameters in this function ...
2
votes
1answer
116 views

How do i plot a conical spiral on top of a cone?

So i need plot a spiral from the top of a cone, can someone help me with my code i have made a similar thing for a cylinder, but there radius wasnt change and in this case i cant figure out how to ...
9
votes
1answer
227 views

Vastly incorrect answers obtained by increasing WorkingPrecision with modified Bessel functions

Bug introduced in 7.0 or earlier and persisting through 10.4.1 This is a follow-up to this question regarding numerical instabilities occurring with modified Bessel functions. In trying to explore ...
2
votes
2answers
70 views

BarLegend problem when rescaling color of multiple vectorplot

I want to make multiple vector plot at same color scale with same BarLegend. Similar posts are (1), (2) I made a minimal example to show the problem I encountered ...
6
votes
2answers
646 views

Plotting spherical surfaces

I am trying to make surface plots of squashed spheres. The spheres are defined by a list of points. For simplicity, consider the round sphere: ...
0
votes
1answer
43 views

Manipulation of imported Datafile

Since I am solving a differential equation in a for loop with NDSolve ...
2
votes
2answers
40 views
2
votes
2answers
136 views

Best way to include a “singularity” in a SmoothHistogram?

I have a dataset like this: data = {0,0,1.1,1.3,0,0,3.4,0,0,2.3,0,0 .....} You can imagine that data is generated from a ...
0
votes
1answer
58 views

Missing curves in a plot [on hold]

I am trying to plot multiple curves for a particular parameter in a function S1, where the only variable is t and the rest are ...
7
votes
3answers
421 views

Plot independent 2D graphs on walls of 3D Plot

Sorry, I know a lot of similar questions have been asked before, but I just can't find one that exactly describes my problem. How can I make the according 2D (marginal distribution) graphs appear on ...
4
votes
1answer
115 views

What is wrong with my code so it neither produces a correct plot nor an error message?

I am trying to define some initial functions and then using them to define my secondary functions and then plot the secondary functions. I am supposed to get two curves with a finite width ...
0
votes
1answer
69 views

Mapping over function's several parameters regions [on hold]

About this post: Mapping multiple parameters of a function to specific values I wonder if the parameters a and b have ranges ...
0
votes
2answers
67 views

DensityPlot with logarithmic xy-axes and logarithmic color scale

I would like to do a DensityPlot with logarithmic xy-axes and logarithmic color scale for the function \begin{align} S(\epsilon_{v},\epsilon_{\phi}) = \frac{\pi}{\epsilon_{v}} \frac{\sinh ...
11
votes
2answers
194 views

How can I make a density plot (or contour plot) with an arbitrary nonlinear scale (e.g. arcsinh, log, biexponential)?

I was inspired by this question, which showed how we can apply logarithmic scaling to a density plot. But I'm not always a fan of a logarithmic scale - it tends to overemphasize smaller features. ...
5
votes
0answers
62 views

Cannot reproduce VectorDensityPlot solution from question 37459

Bug introduced in 10.0 or earlier and persisting through 10.4.1 or later (Reported to Wolfram Technical Support on 24 May 16) Using Mathematica 10.4.1 for Microsoft Windows (64-bit) (April 11, ...
4
votes
1answer
71 views
-4
votes
0answers
59 views

How to solve and draw the phase portrait of a linear system [on hold]

How to solve and draw the phase portrait of this linear system $\frac{dx}{dt}=Ax$ where $A=\begin{bmatrix}{0}&{2}&{0}\\{-2}&{0}&{0}\\{2}&{0}&{0}\end{bmatrix}$
4
votes
3answers
1k views

Define a color function based on color samples obtained from ColorBrewer

I am quite new to Mathematica and I am searching for a way to create a smooth colormap based on the samples given by ColorBrewer. Is it possible to create a interpolated function from those sample ...
19
votes
4answers
638 views

LogPlot axes labels destroyed when working in high precision

Bug introduced in 7.0 or earlier and persisting through 10.4.1 (I'm using Mathematica 8.) I have a Taylor series: poly = Normal[Series[E^x, {x, 0, 10}]] I ...
1
vote
1answer
41 views

REAL Roots of a 2 variable Polynomial

I am looking to plot the real zeros of polynomials of two variables in Mathematica, but I have encountered an issue. To accomplish this task I have been using ContourPlot to plot the polynonial ...