# Tagged Questions

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

61 views

### Mathematica flip the axes ticks (negative values) to other side

I have a plot as shown, I want to change the axes ticks of the negative values as shown below, I went through this post and with this answer, I am able to do only for Y-axis. Can someone please ...
52 views

### Parametric plot

I want to plot x = u Cos[Phi] + v Cos[(u Phi)/v] and y = u Sin[Phi] - v Sin[(u Phi)/v]in a parametric graph for ...
8 views

### Can we construct a non-trivial bicubic Bezier surface with mean curvature = 0 everywhere? [migrated]

If possible how to display the min and max mean curvature values?
42 views

### Is there a 3D version of ListStreamPlot[] (analogous to ListVectorPlot3D[])

Is there is straightforward way to visualize streamlines given a series of discrete samples of a 3D vector field? There is a generalization of ListVectorPlot --> ...
91 views

### Plotting graphical analysis of chaotic behavior

I am trying to plot some results of chaotic behavior in a system based on a paper for one of my classes. I am a physics undergrad. I found some sample code online springy.nb which I have been trying ...
39 views

### Plotting output in two columns beside each other from a for loop [closed]

How can I have the output plots in two columns instead of having the plots in a sequence? Like the following: []
39 views

### Using previous outputs and equations for 3d plots

I am extremely new to Mathematica, and am trying to obtain some plots for my research work. I need to find the roots of a polynomial, and using the roots individually, I need to obtain another ...
329 views

### Plot a alphabetic character in 2D

I was wondering how I can graphically plot an alphabetic character, for example D, in 2 dimension, using mathematica? I was using ListPlot with specific x and y values but it's not looking anything ...
37 views

### Handwritten style in Mathematica [duplicate]

Following image is from the Wolfram alpha How can I do this in Mathematica?
60 views

### Plot: Option MeshStyle: color rotation matching PlotStyle color rotation

This is a follow up question to plot: option plotstyle: start with second color in standard rotation I want the mesh points to have the same color as in PlotStyle ...
56 views

### How can I use the option PlotStyle to start plotting with second color in standard color rotation?

I would like to plot several functions in one plot and start the standard color rotation (ColorData[97, "ColorList"] // InputForm) from the second color and go on ...
46 views

### Why does ContourPlot refuse to draw all 4 quadrants whenever fractional powers are in the implicit function? [closed]

I would like to plot the astroid which is given by: $x^{2/3} + y^{2/3} = 1$ When I use ...
28 views

### Graphing/Plotting multivariate profit function with inequalities

I have the following profit function which I would like to 3Dplot in Mathemathica: Profit = (8c^2-16c*s-10c-4s-3)/(32s+16) , where ...
114 views

### Plotting open balls for the given metric spaces [closed]

We're given a metric space (R,d) defined as follows: $$d(x,y) = |x-y|$$ We need to draw a open ball for this metric space with centre and radius of our choice. Open ball definition: For a fixed $x$ ...
96 views

### How to add color to a knot

Is there a way to use a colorscheme to a KnotData image? One way is probably convert it to a parametric form and then use ...
41 views

### MatrixPlot ignores ColorFunction for 0 matrices

I noticed that when plotting a matrix with custom color function there seems to be a special behavior for matrices with just 0's. In this case the plot is simply white. If there is one non-zero ...
53 views

### Evaluation of FilterRules inside a Module

I'm trying to customize a plot function according to this code ...
58 views

### Extract data from contour [duplicate]

I have a ListContourPlot, and I'm interested in extracting the data of one of the contours. Here is an example and I highlighted the contour that I would like to extract the data from: ...
46 views

### How to graph the max and min values of a sheet?

Hi I just start working in Mathematica version 10.3.1 and I want to graph a sheet of data that I created in Excel (yeah i use Windows). The problem is i have so many data; 200 columns and 50 row of ...
907 views

### Can you plot pure function without specifying variable?

Given a pure function, e.g. f=Sin[#]&, it is possible to plot it with introducing an arbitrary local variable, e.g., ...
93 views

### Randomly oriented ellipses in rows and columns

I should plot randomly oriented ellipses in rows and columns, at fixed nodes. Some rows should be grey, some black. Result should look like the following image (texture drawn by hand): I moved from ...
24 views

### Size and Aspect ratio of exported EPS/PDF and embedding in latex documents [on hold]

I've tried to produce figures in Mathematica that have a size consistent with the need of a Latex document. Using a resolution of 72dpi I could produce this the black box is 8.22cm x 5.08cm in a ...
41 views

### Constant Strings?

I am writing a workbook to compute double integrals, and in order to graph the function in polar/cylindrical form, I have to make a substitution in the original formula. How can I have the original ...
59 views

### labeling ListPlot data and drawing vectors

I would like to plot these x,y data: ...
55 views

### ListDensityPlot3D with discrete user data

I have a ext file with 7 columns and 5.000.000 lines (a trajectory file for a particle in 3D). After normalizing position vectors for each frame to norm 1, I basically obtain a list of three ...
30 views

### How to assign arbitrary values to frameaxis of a ListDensityPlot

Maybe the question is stupid or already has been asked, however, I cannot find an answer while searching Q&A. Assume you have a Table[x*y,{x,1,4},{y,1,4}] ...
324 views

### plotting 3D image for the “grazing goat and silo” problem

I am looking for the code to generate a 3D graphic with this area rotated around its PQ-axis: The red circle represents a silo centered at point P. A goat is tethered at point Q on the edge of the ...
59 views

### How to Manipulate[] Particles in a Box

so here is a set of data. set_of_particles_data here is the code with return some error. it said cannot combine the Graphics. first i copy and paste the data and save it as data.txt. how can i ...
70 views

### How to color the exterior of a region in a RegionPlot?

One can color the interior of a region by ColorFunction. But how to color the exterior of a region of a RegionPlot (I want to ...
40 views

### ContourPlot of an Implicit Function with a parameter

Is it possible to use ContourPlot for an implicit function when another parameter is changing. To be more precise, suppose we have a function of the form F[x,y,z]. Now for a fixed value of z=z1, we ...
80 views

### Plot a line passing through two given points in 3D space

How can I plot straight line passing through two given points in 3D coordinates? For example, given the points M1: (2, -2, 0) and M2: (1, -3, -5) ...
105 views

### Animate the line integral over a scalar field

There is a gif from Wikipedia, The line integral over a scalar field $f$. How to plot and animate this in Mathematica?
56 views

### Different fonts in the same Style in a Plot

I have a plot, not important what it is and I have a linelegend as below: ...
45 views

### Plot bivariate data with marginals using Graphics3D [duplicate]

I have some 2D data (a load of random walks) that I would like to show using a bivariate line plot with marginals attached (I would like the output to look similar to that in this question.) The ...
435 views

### What is going on in this plot?

Plot[{ArgMax[Cos[t] Sinc[2*Pi kl (Sin[t] - 1/Sqrt[2])], t]*180/Pi, 45}, {kl, 0, 10}, PlotRange -> Full] I want to know what causes this, and how to fix it ...
167 views

### Can I convert a 3-D plot into a 2-D plot?

I am studying the Landau Free Energy Equation. First of all the plot displayed only shown negative range. can i show the positive range too? (y-axes). Then, can I turn this plot into 2-D Plot? ...
46 views

### Errors- Calculating Gaussian Curvature for an Elliptical curve

I am trying to implement gaussian curvature for an elliptical curve. I apologize for the lack of brevity in my post. Below is the code that I am working on and the two errors that i am getting are ...
62 views

### Generating OpenCL C code [closed]

I'm trying to make an interactive complex function plotter using OpenCl. So far I can only plot functions that I hardcode into the kernel by hand. I'd like to be able to use ...
156 views

### Labeled destroys the log scales in “log” plots when notebook is re-opened

Bug introduced in 10 or earlier and persists through 10.4 While testing this pdf export bug caused by Labeled, I noticed that this function also destroys the log ...
41 views

### Using ParametricPlot to Display result of Maximize

One would expect that: Plot[f[x],{x,0,1/2}] and ParametricPlot[{x,f[x]},{x,0,1/2}] would always yield identical outputs. ...
45 views

### Optimization for iterating and plotting a matrix product and its elements?

I have an iterative matrix product of this type Since i didnt knew how to do it, I explicitly wrote the product as {Ayn + Bxn, Cyn + Dxn} and evaluated it with the NestList construct ...
47 views

### ShowLegend - length of legend items

I have the following example code and would like to make the lines in the legend longer - how can that be done? Is there another possibility to plot such a legend when using ...
80 views

### Image of the unit circle under a complex rational function

Let $$f(z)=\dfrac{z(z-a)}{(z-b)(z-c)(z-d)}$$ be a complex rational function with distinct non zero complex numbers $a,b,c$ and $d.$ I need to plot the image of the unit circle \$S=\{z\in\mathbb{C} : ...
49 views

### Solution of a 5D Hypersurface and a 3D Surface

So I have an equation given by $$2rvz+v^2+x^2+y^2+z^2=1$$ which is a hypersurface and I want to intersect it with another surface $$1+v+rz=0$$ ...
87 views

### How to Find minimum and maximum using FindMaximum[] and FindMinimum[]

this is the data that i use to plot. data_damped_osccilation this is my code so far, however it still give me error ...
49 views

### Making Multiple Curves with ListLinePlot for Fixed Increments

I want to make a plot with, multiple curves, for fixed values of inc : where my x values are (c1+c2)/2) and my ...
51 views

### How to obtain the best fit values of a and b [closed]

here is set of data. ...
423 views

### Particles bouncing in a 3D box

I made this Manipulate code which shows a pack of particles randomly moving inside a box. It has a huge performance issue. What should be the best way in doing ...
50 views

### Why my Function Has no Output Plot?

Below is my commands on a mathematica script to plot a function. In order to see why the function has issue to be plotted, I have tried to plot the intermediate functions one-by-one. It seems that my ...
74 views

### ListPlot and Show n plots from two lists with large n

For the context, I have been dealing with Random Matrices and Dyson Brownian motion. I have two lists, the first one contains the number of steps, so ...