# Tag Info

### Why did this code make an error when drawing the function image? How to modify it?

A TogglerBar is more flexible for the display of multiple functions. With it, you can select any combinations of functions. ...
• 135k

### What is the equation to plot a vertical line?

Make an equation with a very steep slope that mimics a verticval line. Be sure to add the PlotRange option to limit the vertical range of the plot. Example with 4 vertical lines: Plot[{Sin[x],1*^6(x-[...
• 39
Accepted

### StreamPlot ignores some options

Your problems come from wrong syntax: Q . {{1}, {0}} This results in a matrix, not a vector. In MMA there is no distinction between row and column vector. Instead, ...
• 35.5k
1 vote
Accepted

### How to plot a hazard function?

You need to use HazardFunction. Do not confuse a PDF with a ProbabilityDistribution ...
• 33.1k

...
• 9,301

...
• 135k

### How to write a Mathematica code to plot complex function in a 3D plane

You could take the real part of $f$ as the $x$ coordinate, the imaginary part of $f$ as the $y$ coordinate, then use either the Abs of $f$ or its Argument for the $z$ coordinate and use ...
• 124k

### How to give an approximation expression of a complicated expression using Mathematica?

Try the following: First, let us observe that one calculates the inner integral precisely: ...
• 36.4k

### How to give an approximation expression of a complicated expression using Mathematica?

Using comment of user: Mauricio Fernández: ...
• 12.2k
1 vote

### Creating a Plot of Two Functions with Different Colors

There's a mistake with the brackets. The following works fine ...
• 9,301

...
1 vote

### Issues plotting the solutions from NDSolve

Look at the following: x = 1.; NDSolve[{f'[x] == f[x], f[0] == 1}, f, {x, 0, 1}] (* NDSolve::dsvar: 1. cannot be used as a variable. *) Further: ...
• 35.5k
Accepted

### Studying hyperchaotic ﬁnance system

No, they are not identical. This is what I get: MakePlot[{0.13, 0.18, 0.87}, {1, 2, 3}, 0.1, 1000] MakePlot[{0.13, 0.18, 0.87}, {1.001, 3.001, 2.001}, 0.1, 1000]
• 6,939

### How can I draw a line and an ellipse in the same coordinate system?

Using Region functionality: ...
• 25.3k
Accepted

...
• 135k

...
• 241

### How can I draw a line and an ellipse in the same coordinate system?

can be drawn to the same coordinate system. Why not just use Graphics? Note that the Circle command can also draw an ellipse! ...
• 124k

### How can I draw a line and an ellipse in the same coordinate system?

Clear["Global*"] eqns = {x^2/16 + y^2/9 == 1, x == 2 y + 1}; EDIT: Intersections are at ...
• 135k
Accepted

...
• 135k
1 vote
Accepted

### How to plot the function correctly like the following?

You should not expect to do complicated calculations using machine precision. Use arbitrary-precision in the plots by specifying a WorkingPrecision ...
• 135k
1 vote

...
• 135k
1 vote
Accepted

...
• 135k
Accepted

### Parametric3DPlot Problem

should be y'[t] == 1 - β*y[t] - x[t]^2; ...
• 49.4k
Accepted

### How to make the size of two plots equal?

Set the same ImageSize, ImagePadding and AspectRatio to both plots. To deal with your ...
• 9,292

### Polar graph of the Riemann zeta function

The simplest way to get an expected plot exploits ParametricPlot and for the sake of clearer visualization we can take advantage of ...
• 55.5k
Accepted

### One of the labels in FrameLabel to be in the top left rather than top middle

I will provide an answer in a general context with a MWE. You need to look up Legended ...
• 9,301
1 vote

### Plotting a complex number on the Argand diagram

Mostly to demonstrate some built-in functions for handling complex numbers: a = 0.25^(2 + I); {Abs[a], Arg[a]*180/π, Re[a], Im[a]} {0.0625, -79.4288, 0.0114661, -...
• 25.3k

...
• 124k

### Plotting a complex number on the Argand diagram

Just find the real and imaginary parts of your input. The x coordinates are the real parts and the y coordinates are the imaginary part. Then using ListLinePlot to ...
• 124k
Accepted

...
• 124k
Accepted

...
• 135k

### How to improve this plot? Behaviour of the derivative

First, the limit of the derivative at zero is +/- 3/2 not infinity. For simplicity, I eliminated the legend. You must define the x and y axis separately. I do not understand what you mean by: "...
• 35.5k
Accepted

### ListInterpolation and extrapolation: order has been reduced,

ListInterpolation does not expect a list of $\{x_i, y_i\}$ values. The way you are using it, Mathematica interprets it as a 2D array, and in one dimension you have ...
• 33.1k

...
• 135k

### How to make all my frames to be the same size?

Edit: in order to make my point even clearer ...
• 9,301
Accepted

Try "Grid": ...
• 35.5k
1 vote
Accepted

### Suggestion for labeling my plots

I am leaving this on top because I like it the most Edit 2: ...
• 9,301
1 vote

### Need help to 3D plot of the letter W

It could be that your system is using a different font and thus your letter "W" looks different. You can specify the FontFamily as an ...
• 434
1 vote
Accepted

### Need help to 3D plot of the letter W

If I understand correctly, it's the Mesh that you want to match. Try this ...
• 9,301

### Custom scaling of x-axis in ListLogPlot

It is actually pretty easy if you know exactly what properties of graphics you need to prioritize. Options are pretty flexible. A few approaches. APPROACH 1: arbitrary smooth X-scaling People were ...
• 69.8k

### How to plot the described figure in mathematica?

I’m a professor and sometimes I don’t pose questions well. I suspect this is the case here. When given an ill-posed question, just say “I believe this question is ill posed. I can make a shape of ...
• 3,063

...
• 21.8k
Accepted

### How to plot the described figure in mathematica?

Something to get you started ...
• 9,301
1 vote

### Aligning text on a graph

Without knowing your data, we cannot experiment with your code. However, I can propose a workaround. Try this: ...
• 36.4k
Accepted

### Legend for plot of multiple functions involving ReplaceAll only shows first function

Try this: Plot[Evaluate[({x, x^2, x^3} /. {})], {x, -1, 1}, PlotLegends -> {"n=1", "n=2", "n=3"}] Have fun!
• 36.4k
1 vote

### Interrupted plot lines when multiple branches of an ODE solution are plotted

This shows that the gaps come from discontinuities in one function being applied to other functions in the Plot. You can use ...
• 225k
Accepted

### Visualizing Signs of Two Expressions

RegionPlot. When a>b>0,-a + Sqrt[a^2 - b^2] and ...
• 49.4k

### Visualizing Signs of Two Expressions

If I understand you correctly, try this: ...
• 36.4k