Plotting Definition and 518 Threads
-
Java Kotlin --> Plotting Two Curves on the Same Plot
Here's a Kotlin program that uses Java Swing and Java AWT to plot sine and cosine curves for the interval [0,2π]. The program creates a window with a panel where both curves are drawn: Uses JFrame and JPanel for GUI rendering. Uses Graphics to draw the sine and cosine curves. Automatically...- jedishrfu
- Thread
- Curves Plotting Sine
- Replies: 0
- Forum: Programming and Computer Science
-
MATLAB Getting Error When Plotting Graph (Using Python w/ matplotlib.pyplot)
This is my code: import numpy as np import matplotlib.pyplot as plt def sinc(x): return np.where(x == 0, 1, np.sin(x)/x) x = np.linspace(0, 25, 500) # mainly for setting the number of values generated y = sinc(x) plt.xlim(0, 25) # set range for x axis plt.ylim(-0.4, 1) # set range for y...- Ascendant0
- Thread
- Error Graph Plotting
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
How do programs draw function graphs?
Hi there, I was wondering how computer programs such as geogebra or more advanced packages such as mathlab or wolfram plot graphs for functions. Do they calculate values and interpolate? Do they take derivates to determine maxima and turning points? Do they have any other way to somehow...- Trysse
- Thread
- Function Graphs Plotting
- Replies: 14
- Forum: Programming and Computer Science
-
Issues With Mathematica - AGAIN (Not Displaying Plots)
I've had Mathematica for years. I started having issues with it not too long ago. The first function I would plug in would work correctly, but then any command or function I'd plug in after that would do nothing. I had to literally restart Mathematica every single time I wanted to do the next...- Ascendant0
- Thread
- Error Plotting Software
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
L
Plotting the approximation of the Dirac delta function
Hi, I am not sure if I have solved the following task correctly I did the plotting in mathematica and got the following Would the plots be correct? What is meant by check for normalization, is the following meant? For the approximation for ##\epsilon > 0##, does it mean that for the...- Lambda96
- Thread
- Approximation Dirac delta function Plotting
- Replies: 3
- Forum: Calculus and Beyond Homework Help
-
M
Plotting points in three-dimensional space
For this problem, , The four points are, ##P(8,2,6)## ##R(-2,16,-2)## ##Q(3.9,2)## ##S(\frac{14}{3}, \frac{20}{3}, \frac{10}{3})## And the solution is, However, does someone please know what in the proportion 2:1:3 mean? Many thanks!- member 731016
- Thread
- Plotting Points Space
- Replies: 8
- Forum: Precalculus Mathematics Homework Help
-
A Finding a suitable form factor for a given set of conditions
This is basically a physics problem but I will try my best to highlight the mathematics behind it. Suppose I have two functions: $$T(z,B)=\frac{\text{z}^3 e^{-3 A(\text{z})-B^2 \text{z}^2}}{4 \pi \int_0^{\text{z}} \xi ^3 e^{-3 A(\xi )-B^2 \xi ^2} \, d\xi },$$ $$\phi(z,B)=\int_0^z...- codebpr
- Thread
- Conditions Form High energy physics Optimization Plotting Set
- Replies: 1
- Forum: Beyond the Standard Models
-
A
MCNP FMESH for Plotting power distribution
Hello I'm trying to use FMESH command to get power distribution of this core geometry. I want to use xyz coordinate in a 1/12 slice of a core so I could use the output of the MCNP sim for a CFD input How should I approach this? Thank you- AlexFi
- Thread
- Distribution Mcnp Plotting Power
- Replies: 15
- Forum: Nuclear Engineering
-
Plotting My Air Flight Path from Photos
I expected this to be challenging but it's turning out to be much harder than I expected. I just flew back from Cuba to Toronto, got in at 315AM. It was a beautiful, clear and I had the window seat, so I took a bunch of pics. Now I'm plotting the flight path by analyzing the photos. It's super...- DaveC426913
- Thread
- Air Flight Path Photos Plotting
- Replies: 24
- Forum: General Discussion
-
Experiment - how temperature changes along a tube, using heaters
TL;DR Summary: Help needed with plotting heat maps, using data we gathered in an experiment. Hello, so I'm having problems with analysing data, which we gathered from an experiment we did in class. This is meant as a type of non-guided experiments class, where we are just given an initial...- Rezex124
- Thread
- Experiment Plotting Temperature Temperature change Tube
- Replies: 14
- Forum: Introductory Physics Homework Help
-
Mathematica Plotting a parameter Plane of a spring pendulum in Mathematica
I'm reading an article about the order-chaos-order sequence of a spring pendulum [Ref 1], as I'm reading it I'm trying to reproduce the graphs and results through Mathematica. However, I am new to this software. I will list below some of the most important equations mentioned in the paper. "In...- MarkTheQuark
- Thread
- Mathematica Parameter Pendulum Plane Plotting Spring
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Plotting the graph of Friction Force vs. time (Laws of motion)
F.B.D Of first block (I have shown only the horizontal Forces) f1(max) = μ (1kg)(g) = 0.5 * 10 = 5N F.B.D Of the second Block f2(max) = μ (3kg)(g) = 15N Now the string will become taut and the tension will start acting when f = t = 5N But for 0<f<5N there will be no motion between the 1 kg...- SpectraPhy09
- Thread
- Force Forces Friction Friction force Graph Laws of motion Motion Plotting Time
- Replies: 1
- Forum: Introductory Physics Homework Help
-
Python Plotting Domain Dependent Functions
Is it possible for Python matplotlib to plot in one graph a domain dependent function? For example, suppose there is a function where y=x from 0< x <=5, y = x sq when 5<x<=7 and y=2x+9 when x>7. Is it possible in Python to plot this with one plot on one graph? If so, how would it be done?- e2m2a
- Thread
- Domain Functions Plotting
- Replies: 9
- Forum: Programming and Computer Science
-
Python How can velocity be plotted in Vpython?
Can someone tell me how to plot/graph velocity in vpython? All the documentation I see just deals with plotting the position of the object, nothing on plotting the velocity.- e2m2a
- Thread
- Plotting Velocity
- Replies: 3
- Forum: Programming and Computer Science
-
Engineering Plotting a Guassian FWHM = 1 ns
Simply plugging this into software like MATLAB will present a solid guassian distrubution. However, my doubt comes from selecting the correct sigma. t = - 10 ns to + 10 ns ##\sigma## = 0.1 ns This produces a plot like so,- Tone L
- Thread
- Electrical & electronic enging Fwhm Plotting
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
I
How can I plot the function g(x) = sin(πn/L) x and its corresponding g²(x)?
Summary:: We are currently studying basics of quantum mechanics. I'm getting the theory part but it's hard to visualise everything and understand. We are given this question to plot the function so if someone could help me in this. Plot the following function and the corresponding g²(x) g(x)...- Idonthave
- Thread
- Function Graph Plotting Wave Wave function Wavefunction
- Replies: 13
- Forum: Introductory Physics Homework Help
-
K
I What Software Is Used for Creating Plots in Academic Papers?
Usually in papers there are many plots, and sometimes I do not understand how they plot them, with which kind of software or program they are plotted. I just attached three of the plots, I would be very thankful if you guide me, any of them is plotted with using which method, software or...- kimi
- Thread
- Data Papers Particle physics Plotting
- Replies: 2
- Forum: High Energy, Nuclear, Particle Physics
-
I
Help Plotting Phase Difference using LTSpice please
How do i plot phase difference in a Ltspice in this circuit ?- IronaSona
- Thread
- Difference Ltspice Phase Phase difference Plotting
- Replies: 1
- Forum: Introductory Physics Homework Help
-
A
I How do I properly plot the solar spectrum and handle the flux of Arcturus?
I'm trying to plot the solar spectrum (Wavelength versus Flux) from a table of values I'm given. I'm given 3 columns; Solar Flux Arcturus Flux Wavelength Plotting Solar Flux versus Wavelength gives me a graph (below) that is very difficult to resolve. There are 21,000 data points as well. If...- AlphaCrucis
- Thread
- Flux Plotting Solar Spectroscopy Spectrum Wavelength
- Replies: 3
- Forum: Astronomy and Astrophysics
-
J
Michelson interferometer -- Plotting experimental data to determine t
See attached images.- joelkato1605
- Thread
- Data Experimental Experimental data Interferometer Michelson Michelson interferometer Plotting
- Replies: 12
- Forum: Introductory Physics Homework Help
-
R
MATLAB Plotting Reaction Rate vs Temperature with MATLAB
I know how to get fusion cross section plots from the exfor website but now I need to plot the reaction rate as a function of temperature. According to the image, I have sigma and E values as x and y data. How do I integrate using MATLAB .- Rhony
- Thread
- Matlab Plotting Rate Reaction Reaction rate Temperature
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
B Plotting the Solar System's planets' distances logarithmically
I'm designing a growth chart for my granddaughter with the planets on it. I wanted them to be proportional* as far as distance goes - with the sun at the floor and Pluto at, say, six feet, but obviously that's impossible since all the inner planets would be in the first inch or two from the...- DaveC426913
- Thread
- Planets Plotting Solar
- Replies: 17
- Forum: General Math
-
Plotting points evenly around an origin
Say I have phi starting at 0 and ending at 360 degrees. Theta starts at 0 and ends at 360, and I input 10 points for phi and theta. I am trying to 3d plot phi * theta number of points around a center point. I can plot a coordinate around a sphere using the following, which I think is correct...- wizzy
- Thread
- Origin Plotting Points
- Replies: 3
- Forum: Programming and Computer Science
-
Mathematica Plotting 2 functions & economizing on calc of intermediate result
I am trying to plot two functions a(t) and b(t) that both use a common intermediate result K. In my actual code K would be a slow-ish calculation. To reuse the K across a and b, I am putting them into a single module that provides an array {a, b} to the Plot[] function. (BTW, the Evaluate[] is...- Swamp Thing
- Thread
- Functions Plotting
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Which points on the plane satisfy the given equation?
Given the equation : ##|y| x = x##. Two conditions are possible : (1) ##\underline{y\geq 0}## : ##xy = x\Rightarrow \boxed{y = 1}\; (x \neq 0)##. We note that except for zero, ##-\infty<x<+\infty## for this case. (2) ##\underline{y < 0}## : ##-xy = x\Rightarrow \boxed{y = -1}\; (x \neq 0)##...- brotherbobby
- Thread
- Function Graph Modulus Plane Plotting Points
- Replies: 12
- Forum: Precalculus Mathematics Homework Help
-
J
Python How to Plot y=x^2 Using Matplotlib?
import matplotlib.pyplot as plt R = 2 for x in range(0,50): y = x**R # plt.plot(x,y,marker = 'o') plt.plot(x,y,'--') plt.xlabel('X-axis') plt.ylabel('Y-axis') plt.title('plot test') plt.legend() plt.show()- joseph2015
- Thread
- Matplotlib Plotting
- Replies: 6
- Forum: Programming and Computer Science
-
D
Engineering Question about plotting a Bending Moment Diagram
I am confused why positive value of bending moment is plotted under the axis?- daphnelee-mh
- Thread
- Bending Bending moment Bending moment diagram Diagram Moment Plotting
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
F
I Plotting polar equations and scale invariance
Hello, In the plane, using Cartesian coordinates ##x## and ##y##, an equation (or a function) is a relationship between the ##x## and ##y## variables expressed as ##y=f(x)##. The variable ##y## is usually the dependent variable while ##x## is the independent variable. The polar coordinates...- fog37
- Thread
- Invariance Plotting Polar Polar equations Scale Scale invariance
- Replies: 7
- Forum: General Math
-
Magnitude of an Impulse and Plotting it? (What am I doing?)
I wrote: J = m(2/3)v0 - mv0 for part a but I'm not sure if that's correct or if I need something else? I have no idea how to do part b. I wrote F * t = m(2/3)v0 - v0 but I honestly don't know what I'm doing.- cjedow
- Thread
- Impulse Magnitude Plotting
- Replies: 1
- Forum: Introductory Physics Homework Help
-
A
Doubt in plotting graph between small and large values
how to plot these points in the same graph and find the foward biasand reverse bias dynamic resistance for the SILICONE DIODE IN4001 FORWARD BIAS REVERSE BIAS- Avanthica
- Thread
- Doubt Graph Plotting
- Replies: 8
- Forum: Introductory Physics Homework Help
-
Plotting a Scatter Diagram from a Large Data Set
So I have attempted to plot the scatter diagram. My first query is does the question intend for you to include both subsets of data on one axis, (which I have plotted on the x-axis) or rather does it demand two separate diagrams to investigate if there is any correlation, or a single diagram? I...- AN630078
- Thread
- Data Diagram Plotting Set
- Replies: 4
- Forum: Calculus and Beyond Homework Help
-
M
MATLAB Plotting a 3D image from a matrix for a complex domain
Hi PF! Each element of an ##n\times m## matrix is complex valued. In the following code, I call this "domain". There is also an ##n\times m## matrix that is real valued, below I call this "f". I'd like to plot a 3D image where the ##x-y## plane is the complex plain given by the coordinates...- member 428835
- Thread
- 3d Complex Domain Image Matrix Plotting
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Data Plotting Software for HS Students
I'm designing a course for 9th grade students that focuses on experimental methods in science. One topic that will come at the beginning of the course will be how to display experimental data graphically, including estimates of experimental error. I'm looking for some advice about what...- brainpushups
- Thread
- Data Plotting Software students
- Replies: 22
- Forum: STEM Educators and Teaching
-
P
Plotting a Bessel Function for Diffraction (Fraunhofer)
From my understanding of diffraction pattern is supposed to result in something like this However when I plot it I get the central peak without the ripples (even when broadening the view). My result My code is as follows %1) Define the grid. Define vectors so that they include 0...- PhDeezNutz
- Thread
- Bessel Bessel function Diffraction Fraunhofer Function Plotting
- Replies: 2
- Forum: Introductory Physics Homework Help
-
G
Plotting experimental results on resonant frequencies
These are the questions that I can't figure out how to do. I have been assigned a lab report based on resonating frequencies on a string and am having trouble completing some of the questions in the report. This is what i currently have from the previous steps required. A bit of info...- ghdalswn Source htt
- Thread
- Experimental Frequencies Plotting Resonant
- Replies: 11
- Forum: Introductory Physics Homework Help
-
Mathematica Mathematica Graph Plotting for Scientific Papers
Hey guys, so recently I've been trying to use mathematica to plot graphs for my scientific papers, and I've been starting to wonder - what plot options do you guys use? How do you plot your graphs in mathematica such that they look presentable in a scientific paper?- Luke Tan
- Thread
- Graph Mathematica Papers Plotting Scientific
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Python Plotting the solution of the central equation using python
hi guys i was trying to came up with a basic code that could show me the band gaps in a solid after adding the periodic potential term to my solution : $$ E = \frac{ħ^2q^2}{2m} \pm Vg $$ where Vg is my periodic potential , q is the k values in the first billion zone from my understanding if i...- patric44
- Thread
- Plotting Python
- Replies: 5
- Forum: Programming and Computer Science
-
Plotting the radial wave function of Deuteron in a finite well
To plot ##u(r)## we need to find the solutions for each region. Which is in the relevant equations part. Now, I have to do this numerically. Using python 3.7 I made an ##u## which is filled with zeros and a for loop with if/elseif statement, basically telling it to plot values for whenever...- TopologyisGeometry
- Thread
- Deuteron Finite Function Plotting Quantum Radial Wave Wave function
- Replies: 3
- Forum: Advanced Physics Homework Help
-
P
Plotting the Poynting vector of a radiating electric dipole [matlab]
I've attached a .txt file of my script for those who want to take a look at it Here's a picture of my vector field at time t = 0 I'm very concerned about this picture because from my understanding the Poynting vector is supposed to point outwards and not loop back around, this looks nothing...- PhDeezNutz
- Thread
- Dipole Electric Electric dipole Matlab Plotting Poynting vector Vector
- Replies: 118
- Forum: Advanced Physics Homework Help
-
B Plotting the Space-Time Continuum: Is it Possible?
How would one plot the space-time continuum graphically(if it were possible,obviously)?- FireAP
- Thread
- Continuum Graph Plot Plotting Space-time Spacetime
- Replies: 5
- Forum: Special and General Relativity
-
N
Python Python, scipy.integrate.solve_ive, a problem with plotting a graph
Hi, I have this code that solve the equation of motion of a relativistic electron. from math import sqrt from scipy.integrate import odeint, solve_ivp import numpy as np import matplotlib.pyplot as plt e = 1.602 * 10 ** (-19) E = 10 ** 6 m = 9.106 * 10 ** (-31) def d2vdt2(t,r): t_arr = []...- Natchanon
- Thread
- Graph Plotting Python
- Replies: 6
- Forum: Programming and Computer Science
-
Mathematica Plotting an array of functions in different colors
If we plot a list of functions in a literal array, they get plotted automatically in different colors, for example: Plot [{x,x*x,-x},{x,0,10}] But if we get the list of functions from another user-defined function, they get plotted in a single color: fnY[x_]:={x, x*x, -x} ... OR ...- Swamp Thing
- Thread
- Array Functions Plotting
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Comp Sci Low Pass Filter, plotting a graph
I wrote this code, but I am not sure its ture or not from numpy import arange from math import floor from pylab import plot, show Vout = 0 #inital condition t_i = 0 #initial time t_f = 10 #final time N = 100000 h = (t_f - t_i) / N RC_values = [0.01, 0.1, 1] def f(Vout, t): if floor(2 *...- Arman777
- Thread
- Filter Graph Low pass filter Plotting
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
M
Mathematica Plotting k^2 in Mathematica - Output Not 1?
Can anyone confirm if the following in Mathematica gives an output that is not 1? I'm getting some sort of sinusoid, but I should get 1. k = 2; Plot[k^2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, {t, 0, 10}] Thanks!- member 428835
- Thread
- Mathematica Output Plotting
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
K
Plotting a rotating ellipse trajectory (the Moon orbiting the Earth in 2D)
I'm tasked with drawing the trajectory of the Moon around the Earth (in 2D), taking into account the fact that the trajectory also undergoes precession, so the elliptical orbit rotates about it's center (I think it should rotate around the Earth-Moon barycenter, but for the first step I...- kiloNewton
- Thread
- 2d Earth Ellipse Moon Plotting Rotating Rotations Trajectory
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
A
MATLAB Plotting standard deviation in Matlab
I have a data set 1st coloumn containing ##x## values 2nd coloumn containing ##y## values and 3rd coloumn containing standard deviation of ##y## associated with each ##x## value...I want to plot these 3 values together in a MATLAB plot...can anyone please help me in this regard??- Apashanka
- Thread
- deviation Matlab Plotting Standard Standard deviation
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Python Plotting a 2d trajectory with Matplotlib
Hi I have a 2d trajectory of a center of mass which I have saved in an array such that r=[[x(t_1),y(t_1)],[x(t_2),y(t_2)],...,[x(t_n),y(t_n)]] where x is x coordinate of the position and y is the y-coordinate of the position. I have tried this: xx = [t[0] for t in r] xy = [t[1] for t in r]...- Avatrin
- Thread
- 2d Matplotlib Plotting Trajectory
- Replies: 1
- Forum: Programming and Computer Science
-
Mathematica Plotting the solution of an ODE
I'm trying to plot the solution to an ODE (with given initial values) but there are some constants in it that I want to evaluate with sliders and I'm not sure what is the right syntax for this. Manipulate[Plot[solution1[t], {t, 0, 10}, PlotRange -> {-Pi, Pi}], {{a, 1, "Driving amplitude"}, 0...- Robin04
- Thread
- Ode Plotting
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
V
Matlab Plotting Points and a Cubic Polynomial that passes through them
Homework Statement We were given a tutorial to complete which I did complete. Now the question is: By modifying the appropriate lines in your script file, find the values of a, b, c, and d so that the cubic polynomial y = ax3 + bx2 + cx + d passes through the (x, y) pairs (-1, 3), (0, 8)...- ver_mathstats
- Thread
- Cubic Matlab Plotting Points Polynomial
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
Z
Trouble solving an ODE and plotting its phase portrait
Mentor note: Moved from non-homework forum to here hence no template. So I was able to solve part 1.A of the first problem by hand, the phase portrait is a sideways parabola. However, I want to also show on this on mathematica. I want to solve the equation first and then plot the phase...- zeesyk
- Thread
- Classical dynamics Ode Phase Plotting
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help