# Questions tagged [plotting]

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

13,975 questions
Filter by
Sorted by
Tagged with
72 views

### simple question for 2 order DE

I want to get some plots from this equation under any boundary condition(y[0]=0,y'[0]= 0)!! but I guess there is some singular point. ...
93 views

### How to plot two functions $x^{2}+y^{2}=1$ and $xy+1=z$ in 3D in the same axes? [closed]

How to plot two functions $x^{2}+y^{2}=1$ and $xy+1=z$ in 3D in the same axes?
70 views

### Spurious poles in a gain plot (due to machine precision or complex numbers?)

I have the following plot that I like to make. It details the gain of an amplifier. ...
• 345
322 views

### How can I remove a part of an axis?

I am trying to draw a graph whose x-axis begins after the y-axis. As you can see, the x-axis crosses the y-axis and continues to the left. ...
41 views

### Inconsistent spacing between outward frame ticks and tick labels in Mathematica 13

I want to use FrameTicks with the ticks pointing outward in the negative direction. Take these example functions for FrameTicks and a plot: ...
86 views

### How do I find the unit vector in the direction of the minimal rate of change?

A ball falls on the surface $x^4 z+x^9 y^2+y^2 z^3=65$ at the point (-1,-3,2). How do I find a three-dimensional unit vector in the direction that the ball will begin to roll. I know that the ball ...
• 85
287 views

### Sphere animation

I need to make an animation to visualize spherical coordinates. So,what I need is, when I increase r, it traces a radius r. Just to make it easier, it traces in z-axis. Then, when we increase angle ...
• 85
127 views

### How to optimize ContourPlot3D evaluation?

I tried to plot a certain 3D sine function: ContourPlot3D[(Sin[x^2] + 2) * (Sin[y^2] + 2) * (Sin[z^2] + 2) , {x, -2, 2}, {y, -2, 2}, {z, -2, 2}] but ran into an ...
• 333
1 vote
90 views

### How to Plot 3D plot for optimized values in Mathematica

I have the following ODE from the paper https://sci-hub.hkvisa.net/10.1016/j.aml.2018.02.016 $y^{\prime\prime}(t)=-ay^{\prime m}(t)+y(t)(b y^{2}(t)-\frac{3}{2}y(t)+\frac{1}{2})$. The boundary ...
• 169
261 views

### How can I make a RegionPlot3D opaque with respect to the axes?

I am trying to render a hemisphere with RegionPlot3D, but I want the axes to be obscured by the plot. My current code is as follows: ...
• 203
1 vote
67 views

• 169
109 views

### How can I make Mathematica print the intersection of two intervals?

I'm trying to use NumberLinePlot and Manipulate to visualize how the interval $[t-1, t] \cap [0, 1]$ changes as the value of $t$ changes. My code is: ...
• 317
135 views

### Numerical Solution for this equation [closed]

I want to solve this equation in Mathematica then plot x[t]: ...
• 381
74 views

### To solve system of linear equations and plotting the graph [closed]

How to solve and graph the system of linear equations \begin{aligned} x-35y &= -30 \\ x+55y &= 25 \end{aligned} I have to find the point y and plot the lines with the point of ...
• 21
66 views

### Plot and DSolve [closed]

I'm working on this code to modify it but I can't plot it and solve the second part?!! ...
• 381
46 views

### Save figure of a plot following a conversion from notebook to Wolfram script

I have the following Mathematica notebook on this link notebook link I have converted it to Wolfram script. Once done this, I am trying to save the plots as png ...
• 35
214 views

### Integrating and plotting solutions of a nonlinear dynamical system

So I have an ODE $k^2\; u'(\theta)^2 = -\frac{1}{3}u^3 + \frac{\omega}{k}u^2-2B\;u+2A$ where $B,A$ are constants. I attempted to directly integrate in Mathematica with ...
• 151
281 views

### Changing colors of ContourPlot

I have a problem with ContourPlot colors. In fact, i have the following table ...
• 81
70 views

### Plotting multivariate functions [closed]

So I have a function \[Phi] = 4*ArcTan[(v*t)/Sinh[vt/Sqrt[1 - v^2]]]; And am trying to plot using Plot[\[Phi], {x, -Pi, Pi}] ...
• 151
81 views

### Finding best polynomial approximation for function with complicated form and many terms [closed]

I have a function that contains 50 terms hence, it is a complicated-looking function. Now I expected it to be a polynomial function. How can I get this polynomial fit provided I don't have data, I ...
178 views

### I am trying to solve nonlinear Schrödinger equation with dipolar interaction

I am trying to solve numerically Equation number (29) with the help of Eq.(32) and (34) from this paper https://arxiv.org/pdf/1506.03283.pdf. for ...
96 views

### How to create 3d plot over hexagonal region

I'm trying to plot the energy levels of graphene over the hexagonal Brillouin zone. So far I have plotted the energy levels using the code shown below. I then tried to edit my code using the method ...
99 views

### How can you change position of labels in plot

Is it possible to change the location of number labels on the x-axis? On the plot below, created with Show (3 Plots, 6 ListLinePlots), I would like to move the ...
• 65
259 views

### How can I fill regions from range of x and y?

I have two lists below and each element in rangeX with the corresponding element in rangeY form a region/regions (or a line/...
• 1,750
248 views

### Poincaré Section from action

I am given a perturbative action \frac{S}{\mathcal{T}}=\int dt\sum _{n=0,1} (\dot{c_n}{}^2-c_n^2 \omega _n^2)+7.11 c_0^3+35.3 c_0 c_1^2+4.66 c_0 \dot{c_0}{}^2+1.32 c_0 \dot{c_1}{}^2-7.57 \dot{c_0} ...
• 181
59 views

### How can I remove undesired straight line suddenly appearing in the exported image of mathematica?

I'm drawing a picture of some 2D flows (x[t],y[t]) generated by differential equations of x[t] and y[t]. The code is as follows. The picture I get inside mathematica is like Something is already ...
1 vote
75 views

### Rasterizing 3d plot adds a weird frame

I am trying to export a 3d plot of good quality. Here is a MWE: ...
• 163
253 views

### Scroll Through Layers of ListLinePlot3D

I like the default functionality of ListLinePlot3D's layering of 2-d data plots, as seen below with 4 layers. ...
• 1,577
312 views

### Find intersection of curves

I have a curve (not a function) as a list of points and I would like to find the intersection of the curve with another curve (another set of points). To be more concrete about the problem I am ...
• 327
233 views

### Controlling the discretization of a Tube around a ParametricPlot3D

I am playing around with using Tube as an option under PlotStyle for a ParametricPlot3D ...
• 9,756
532 views

### Tabulating and visualizing the expression 0.905*(0.1^n)/n!

I need help tabulating and visualizing the expression, 0.905*0.1^n)/n!, where n goes from 0 to 100. I want to store all the values, and use those values to plot a ...
61 views

### Discordance between plot and function domain

In version 13 on Windows 10 ...
• 16.8k
1 vote
76 views

### Hypergeometric function plot [closed]

I can't plot this??!! if you can check this thank you. ...
• 381
1 vote
73 views

### Why does RegionPlot show an empty plot?

Problem Setting I have defined the following functions. ...
• 129
147 views

### Plotting a phase portrait of a reduced system with 4 differential equations

I have a system of differential equations that I have reduced to this: \small \frac{db}{dt}= \beta_1 (1-b(t)-c(t)) b(t) + (1-\beta_1) \beta_3 (1-b(t)-c(t)) d(t) - \phi_{w1} b(t) c(t) -...
• 103
86 views

### GraphicsGrids crops the plots

I'm trying to use GraphicsGrids to combine some plots (generated with ListPlot). The problem I'm having, is that the plots are ...
• 161
63 views

### How to control PlotLabels callout style?

When I work on a dark background (e.g. using Format > Stylesheet > ReverseColor) , some of the subtle stylings are not to my taste. A simple example can be reproduced (without changing the ...
• 45.3k
108 views

### How do you plot points in a linear array?

I want to plot Lst := {1,2,3,3,3,4,4,6,7,7,7} in such a way that the height of the element "3" is three times the height of element "2" (or "1") and height of element &...
• 1,398
94 views

### Piecewise smooth rectangular pulse

I am wondering how to create a rectangular pulse with a non linear falling edge on one side, and straight line sloping from the falling edge (the red line). So far I have managed to get the plot ...
• 31
1 vote
63 views

### How can I plot these three equations? [closed]

There are 3 parametric equations given I have to plot the sphere. I tried with ParametricPlot3D, but it does not show any graph. Then, I also tried using ...
1 vote
145 views

### Help me plot this function [closed]

f[k] = -(1/2)^k - ((1/4) (1 - sqrt[5]))^k/sqrt[5] + ((1/4) (1 + sqrt[5]))^k/sqrt[5] (and also f[k] = 0 when k = 1,2) I need to make a lineplot of this function in k = 3,4,5,... ,20. why this does not ...
• 135
142 views

### Hemisphere volume plot

I am trying to show an animation of the hemisphere volume. I tried to start with some radius and rotate it, to get an area of a circle. Then, I will stack up the circle in z-axis to make a hemisphere. ...
• 85
1 vote
49 views

### Problem with Mesh in Contour Plot

So I was using ContourPlot to plot an equation and I want to highlight the sampling points of the contour plot. So as written in the Mathematica documentation, I tried using ...
• 21
1 vote
53 views

### Why do the two interpolation behave not the same?

I was trying to give the interpolation of a function $f(x)=1/(1+25x^2)$, then I met the problem below: As I want to see the behavior as the interpolation order became bigger, I set it progressed. And ...
• 188
264 views

...
• 2,995
99 views

### Shifting x axis to right

This is a simple plot. ...
• 1,163