Questions tagged [plotting]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
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. ...
user avatar
4 votes
2 answers
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?
user avatar
0 votes
1 answer
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. ...
user avatar
  • 345
5 votes
3 answers
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. ...
user avatar
2 votes
0 answers
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: ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 85
4 votes
2 answers
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 ...
user avatar
  • 85
3 votes
1 answer
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 ...
user avatar
  • 333
1 vote
1 answer
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 ...
user avatar
  • 169
5 votes
2 answers
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: ...
user avatar
  • 203
1 vote
2 answers
67 views

Plot a solution of a differential equation

Consider a BVP $x^{\prime\prime}(t)+x^{\prime2}(t)-x(t)\left(x^{2}(t)-\frac{3}{2}x(t)+\frac{1}{2}\right)=0,$. The Boundary conditions are $x(0)=1$ and $x(1)=2$. It follows that the exact solution is $...
user avatar
  • 169
1 vote
1 answer
54 views

PlotMarkers in Mathematica with using an iteration scheme

I have the following operator $T:[0,1]\rightarrow[0,1]$ by $Tx=\frac{x}{2}$. I use the following method for two different initial point $x_{0}\in[0,1]$ as $x_{n+1}=Tx_{n}$ $n=0,1,2,3,...$ I have set ...
user avatar
  • 169
0 votes
0 answers
21 views

The second order differential equation non-linear case [duplicate]

I'm working to solve this equation but it's not giving me anything ...
user avatar
0 votes
1 answer
93 views

Plotting fractals in Mathematica for S iteration

Dears, I'm trying to plot the attached picture figures in Mathematica software. Let $T(z)=z-\frac{P(z)}{P^{\prime}(z)}$. The S iterative scheme is for $z_{0}$ a starting point and $y_{n}=(1-\beta_{n}...
user avatar
  • 169
2 votes
2 answers
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: ...
user avatar
0 votes
1 answer
135 views

Numerical Solution for this equation [closed]

I want to solve this equation in Mathematica then plot x[t]: ...
user avatar
2 votes
3 answers
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 ...
user avatar
  • 21
0 votes
1 answer
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?!! ...
user avatar
0 votes
0 answers
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 ...
user avatar
  • 35
2 votes
2 answers
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 ...
user avatar
8 votes
3 answers
281 views

Changing colors of ContourPlot

I have a problem with ContourPlot colors. In fact, i have the following table ...
user avatar
  • 81
0 votes
1 answer
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}] ...
user avatar
-1 votes
2 answers
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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
5 votes
1 answer
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 ...
user avatar
5 votes
3 answers
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/...
user avatar
  • 1,750
5 votes
1 answer
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} ...
user avatar
  • 181
0 votes
0 answers
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 ...
user avatar
  • 1
1 vote
1 answer
75 views

Rasterizing 3d plot adds a weird frame

I am trying to export a 3d plot of good quality. Here is a MWE: ...
user avatar
10 votes
3 answers
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. ...
user avatar
5 votes
2 answers
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 ...
user avatar
  • 327
9 votes
2 answers
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 ...
user avatar
4 votes
2 answers
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 ...
user avatar
0 votes
1 answer
61 views

Discordance between plot and function domain

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

Hypergeometric function plot [closed]

I can't plot this??!! if you can check this thank you. ...
user avatar
1 vote
1 answer
73 views

Why does RegionPlot show an empty plot?

Problem Setting I have defined the following functions. ...
user avatar
0 votes
1 answer
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: \begin{equation} \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) -...
user avatar
  • 103
2 votes
1 answer
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 ...
user avatar
0 votes
0 answers
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 ...
user avatar
5 votes
1 answer
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 &...
user avatar
2 votes
1 answer
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 ...
user avatar
  • 31
1 vote
1 answer
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 ...
user avatar
1 vote
3 answers
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 ...
user avatar
  • 135
4 votes
3 answers
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. ...
user avatar
  • 85
1 vote
0 answers
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
  • 188
4 votes
3 answers
264 views

How can I rotate a 2D shape with respect to another?

...
user avatar
0 votes
3 answers
99 views

Shifting x axis to right

This is a simple plot. ...
user avatar
  • 1,163
0 votes
0 answers
55 views

Solve for 4 variables

I need a ratio or values for which both the functions will intersect or have same values. I was unable to solve it or plot them together. ...
user avatar
  • 157

1
3 4
5
6 7
280