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

learn more… | top users | synonyms (4)

26
votes
4answers
373 views

How can the behavior of InterpolationOrder->0 be controlled?

In ListPlot and Interpolation, the option InterpolationOrder->0 uses two different ...
6
votes
3answers
490 views

ListPolarPlot not showing full plot range even with PlotRange -> All

I have a list of data dpdOt (given below) with associated angular coordinates thetaplot, which when plotted using ...
3
votes
3answers
202 views

Extracting the coordinates of a point of interest from a ListDensityPlot

How can I extract coordinates from a list density plot. Example plot of interest: I need to place two points on either side of the center white circle and calculate the distance between them. My ...
1
vote
1answer
1k views

How to plot 2D plot against two functions [closed]

I need to Plot two functions one is on x-axis and second on y-axis, both function have common variable $x$. The two functions are ...
0
votes
1answer
367 views

How Do I Plot Histograms and Binomial Distributions Side by Side?

Here is the code I thought might yield up two histograms and two binomial distributions plotted side by side: ...
0
votes
1answer
171 views

Combination of a Contourplot and a Graphics Object

I want to combine the following to graphs. ...
3
votes
2answers
341 views

Color of a plane in Contourplot3D

I have the following code example: ...
0
votes
3answers
411 views

Plotting function with Dynamic parameter

I'm trying to get this code working: a = 2; func[t_] := Dynamic[t + a]; Plot[func[t], {t, -5, 5}] The idea is: I'd like to have the dynamic parameter a change ...
2
votes
0answers
34 views

Plotting list-valued interpolating function [duplicate]

I have an interpolation function which returns a list, e.g.: f=Interpolation[{{1,{1,2,3}},{2,{4,5,6}}}]; When I try to plot it, I get single-colored curves. ...
9
votes
2answers
272 views

PlotRangeClipping not working correctly with small ImageSize and PDF-export

Although Mathematica has some nice plotting capabilities, there are some things which are annoying me: I like to export a Graphics oder Plot to PDF for use in $\LaTeX$. I like to a have an ImageSize ...
-1
votes
2answers
107 views

How Do I Plot A Binomial to the Right of the Origin?

I'm having a seven element binomial distribution: BinomialDistribution[7, 0.5], x],{x, 0, 8}] I would like to locate to any arbitrary point on the X axis. Mathematica will let me have eight columns on ...
1
vote
2answers
250 views

Plotting a dynamical NonlinearModelFit Function

Currently I'm playing around with dynamics and the NonlinearModelFit function. To be precise, I want to fit a function the data, which range I want to specify ...
1
vote
1answer
134 views

How do I append a graph to last column of a table?

rmsdata= Partition[ReadList["RMStabledata.txt", Number],29] ...
0
votes
1answer
529 views

How to find the zero of a function?

I want to find out when a function has a real root. I first made a RegionPlot3D when the function is zero. ...
2
votes
1answer
903 views

How to increase font-size of Text in ShowLegend

The default font-size of Legend text generated using ShowLegend[] is too small. How does one increase this? The code I am ...
5
votes
1answer
452 views

how can I convert a Grid object to a Graphics object?

I have a figure (which is by combining different plots) that I generated using Grid[]. The problem is, I want to specify the ...
1
vote
2answers
95 views

How can I plot a polynomial at a specified set of x values?

I want to plot the following polynomial: ...
0
votes
1answer
242 views

How can I build a GraphicsGrid of fixed size that rearranges the empty plots?

OK, let's make one final attempt; they say the third time is the lucky one! Following @rm-rf 's suggestions, I will try to be as clear as I can. My Mathematica code reads and plots simultaneously ...
0
votes
2answers
556 views

Plot of a function which includes numerical integrals

I want to make a 3D plot of two variable i1 and b1. The dependent variable results from a pay-off function ...
2
votes
1answer
1k views

Epilog->Text placement on LogLogPlot

Hopefully this is a simple question. I'm trying to overlay some text on top of a LogLogPlot using Epilog and ...
1
vote
2answers
279 views

How to plot results of Dsolve

I could not figure out how to get a plot of the results of my coupled differential equations. I am sure that the equations are written correctly. I tried solving a basic Lotka Volterra set of ...
2
votes
2answers
165 views

ListDensityPlot controlling the number of colors

Is there a way to set the number of colors used in ListDensityPlot. I am using "Rainbow" as follows: ...
0
votes
2answers
241 views

How to change the LabelStyle only for one axis?

I want to modify the style of just one axis, but I'm stuck with something like Plot[x^2, {x, 0, 3}, LabelStyle -> Red] which of course modifies both axes. How ...
3
votes
1answer
197 views

plotting hypergeometric functions

Does anyone know why a plot of a hypergeometric function turns out differently in Mathematica than in Maple? The function I'm plotting between x=-30 and +30 is: ...
5
votes
2answers
648 views

how to change the distance between tick mark and tick label

On similar lines as Is there an option to change the space/distance between tick labels and axes labels for plots? but I would like to reduce the distance between the tick mark and the tick label that ...
1
vote
2answers
276 views

Convert a number to a string to use in plot axes label, but keep the exponent

This seems to be a simple, but useful question. I am plotting a basic function: ...
5
votes
1answer
745 views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8s whose centers are aligned along the 3D curve? Say the curve was: ...
10
votes
5answers
409 views

ListPlot under conditions

I have a data file containing several columns and thousands lines of data. Below I present a small portion of it, in order to express my issue: ...
1
vote
1answer
269 views

Color inversion using ArrayPlot

I have a 3D data that I want to visualise its each slice with ArrayPlot. However, there is a problem the way it represents the data. As, ArrayPlot by default generates grayscale output, in which ...
4
votes
2answers
387 views

How to make a conditioning plot?

I'd like to make a conditioning plot just like coplot in R. Is there a pre-made solution or do I have to make a bunch of plots individually? Edit: This is an example from r screenshots. It is a way ...
0
votes
1answer
600 views

PDF of binomial distribution and mixed binomial distribution

I want to plot the PDF of binomial distributed function and a mixed binomial distributed function, therefore I entered for the binomial distribution function the following: ...
1
vote
2answers
393 views

Placing a zero at coordinate center when plotting with Ticks -> None

I'd like to plot a certain function where only its qualitative progession shall be emphasized. Thus, using the Ticks->None option seems to be appropriate. ...
2
votes
3answers
1k views

How to color a contour plot over a subset of colors displayed in the bar legend

This seems real easy but I can't find the answer. I have a few contour plots that I am combining and want to use only one bar legend that captures all the values. Given that I know the range of ...
4
votes
2answers
258 views

Filling a plotted line both below and above the line

I'm relatively new to Mathematica. I tried looking for a solution online but couldn't find anything. I want to fill a plotted line both above the line (one color) and below (another color). For ...
5
votes
1answer
131 views

ArrayPlot: space between displayed data and frame

When I execute the lines ...
15
votes
3answers
320 views

How to make Joined skip missing data points

I have a set of data taken on sequential days, but some points are missing. I'd like to make a joined date list plot, where the points are not joined across the missing point.The following example ...
2
votes
0answers
65 views

How to create a ListPlot containing two lists? [duplicate]

I'm trying to plot a set of points where one list corresponds to the X values another list corresponds to the Y values. I have ...
0
votes
1answer
392 views

Projecting on an arbitrary plane

I have the following code, giving me a representation of a photon hitting a cylinder: ...
3
votes
1answer
170 views

Isolate a specific contour without Contour Shading

I have a contour plot that took a few hours to evaluate. Is there a way that I can show only the contour lines of a specific value without re-evaluating the contour plot?
-1
votes
1answer
110 views

Plotting a function dependent on $x/d$

I have a problem in plotting a function. The example code is as following: ...
0
votes
4answers
1k views

Problem with plotting legends using the PlotLegends package

Here is my problem : I have a table composed of 3 "under"-Lists and I'd like to plot it with legends, but I can't find a way to do it. ...
1
vote
1answer
156 views

plot probability

Hi I just want to flatten a function, I tied it with Joined->True, but it did not work, hope somebody of you can help me. This is my code: ...
6
votes
3answers
486 views

Opacity and overlapping multiple polygons

Let's say I have 100 polygons that are all different but most of them overlap. All I want to do is to draw/plot them in one single graphic with linearly adding gray values; i.e., a point with ...
3
votes
1answer
389 views

Looking for equivalent of MinorTicks->None

I am looking for the most general possible way to suppress the display of minor ticks in Mathematica plots.1 More specifically, I'm looking for the equivalent (or near-equivalent) of a fictional ...
0
votes
1answer
138 views

Plotting boundary value expression against a parameter

I am very new to Mathematica and have a question regarding plotting a ODE boundary value problem. Let say I have an ODE ...
2
votes
2answers
579 views

How to set the ratio between the vertical and horizontal scales of plots?

The documentation says that when AspectRatio->Automatic is specified, Mathematica determines the ratio of height to width from the actual coordinate values ...
5
votes
1answer
114 views

How to make endpoints flush with fill in ListLinePlot?

If one plots a filled line plot such as, for example, the one produced by ...
2
votes
1answer
642 views

How can I plot a hyperbola from its complex representation?

How can I plot the hyperbola represented by the following complex equation: $$\left|z-a\right|-\left|z-b\right|=2t\tag{1}$$ Should I convert (1) into the following form? ...
1
vote
2answers
185 views

How can I speed up this plot manipulation? Why does Evaluate not help?

If I were able to "Save" the computed inverse function somewhere and then plot it, the manipulation would become faster. As I understand, Evaluate should do the job, but for some reason it does not. ...
0
votes
1answer
91 views

Plotting spaces spanned by parameters

Suppose I have three coordinates functions of a vector of parameters: x[q],y[q],z[q] where q is at least a three dimensional vector in some domain Q. Is it possible to plot in 3D the space spanned by ...