Plotting Definition and 518 Threads
-
N
MATLAB Why am I Getting an Error Message When Plotting Functions in MatLab?
Hey everyone, I just started, what is supposed to be a beginners course in MatLab, but I am the only one who has never used MatLab before! I'm stuck on the very first HW assignment (although I did manage to get to problem 6 out of 7) and was hoping someone could explain why I keep getting an...- naomineu
- Thread
- 2d Error Plotting
- Replies: 12
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
MATLAB Solving Orbital Motion Equations with RK4 Using MATLAB
I'm trying to plot the solutions of the second order differential equation d^2R/dt^2 = GM/R^2 + Lz^2/R^3. I'm reducing this to a system of first order ODEs and then using RK4 to solve this system. My code is given by function RK4system() Tsim = 10...- Jordan_Tusc
- Thread
- Astrodynamics Matlab Matlab code Numerical analysis Orbits Plotting Runge kutta Trajectories
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Help with Plotting Data & Function in Matlab
Homework Statement I'm a little lost on how to plot this data and function. I included the homework question and my attempt at plotting in the attached picture. I'm pretty sure what I have is completely wrong and I honestly don't have much of an understanding of matlab, so the more you dumb it...- jdawg
- Thread
- Data Function Matlab Plotting
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
M
LaTeX Plotting a Line in TikZ: Investigating Unexpected Behavior
Hi PF! I'm plotting a line in TikZ using the following code \draw[domain=0:25,samples=100,color=blue,variable=\x,line width=1.5] plot (\x,{0.9924686128641765 - 0.023406305144575135*\x - 0.0006942621866861979*\x^2 - .000001925581045950128*\x^3}); The largest zero is 24.0699 but latex is...- member 428835
- Thread
- Behavior Line Plotting
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
I Plotting number of halos per logarithmic bin
Hello all,. I'm right now playing the publicly released data from the Illustris simulation. Im trying to plot the number of halos per logarithmic mass bin or the number of halos between mass M and M+dM I'm only familiar using theoretical models like Press-Schecter and I have no idea how do... -
K
I Data Plotting Help: Calculating Error Bars for Gradients and Average Gradient
I'm doing an experiment at work where I am observing an "event" over time. This event can be anything, but let's assume its a bucket of water being filled to the top, then it gets replaced with another bucket and I watch the whole "event" again. So x-axis will be time, y-axis will be the volume...- K41
- Thread
- Data Plotting
- Replies: 2
- Forum: Set Theory, Logic, Probability, Statistics
-
MATLAB Plot 3D Function: Point Where f=1, No Point Where f=0
I had a function of 3 variables f'(kx,ky,kz) and did an ifft f = ifft(f') and now i have a function where inside a small polygon the function f = 1, and outside f=0, within a cube space of length L. how do i plot a scatter graph for this function where there is a point when f =1, and no...- Ben Wilson
- Thread
- 3d Function Matlab Plots Plotting
- Replies: 9
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
Plotting pressure distribution of fluid flow in a pipe
Hi all, I am analysing the flow of water in a subsea pipe, and have been getting stuck in trying to solve the energy equation to plot a temperature distribution across the pipe diameter I have derived the equation as such seen in my attachement. But my main question is how should/would I...- shevir1
- Thread
- Distribution Flow Fluid Fluid flow Pipe Plotting Pressure Pressure distribution
- Replies: 1
- Forum: Mechanical Engineering
-
I Plotting and visualizing a 3D plot of a vector function
Hello, I'm trying to figure out how to plot a certain vector valued function but I'm having a hard time. The problem gives me the following vector valued function: r(u,v) = <u + v, 3 - v, 1 + 4u + 5v> I don't know how to plot this. So far I've tried making a table with some u and v values to...- Thales Costa
- Thread
- 3d Function Plot Plotting Vector Vector function
- Replies: 4
- Forum: Calculus
-
G
How to plot the linear system solutions with multiple solutions?
Homework Statement Solve the linear system of equations: ax+by+z=1 x+aby+z=b x+by+az=1 for a,b\in\mathbb R and plot equations and solutions in cases where the system is consistent. Homework Equations -Cramer's rule -Kronecker-Capelli's theorem The Attempt at a Solution Using Cramer's rule, we...- gruba
- Thread
- Linear Linear algebra Linear system Plotting System
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
Plotting reflection coefficient
Homework Statement plot the magnitude |r| of the reflection coefficient as a function of incident angle from 0 to 90 degrees with a step size of 1 degree for the following cases: (ill only post one) A transverse electric plane wave in incident from air to glass Homework Equations r = (n1cosθi...- nmsurobert
- Thread
- Coefficient Plotting Reflection Reflection coefficient
- Replies: 1
- Forum: Introductory Physics Homework Help
-
E
Maple Problems with plotting a function in Maple
Hey so I'm working on a simulation to compute the multiplicity of two Einstein solids.. long story short I'm having a tough time plotting a function. To start, I defined the following: Which, when simplified yields: I named this simplified result K: Plotting this... What I get is...- EdisT
- Thread
- Function Maple Plot Plotting
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Python Python problem: Plotting two functions against each other
Homework Statement Enter a minimum height and velocity into plot function and return a velocity-height plot. Homework EquationsThe Attempt at a Solution # Find length of general list n = len(K) # Build a list for time [0,20] seconds ( Global) time = n*[0.0] # Acceleration of gravity g =...- BubblesAreUs
- Thread
- Functions Plotting Python
- Replies: 4
- Forum: Programming and Computer Science
-
A Having Trouble Plotting the Cosmic Shear Power Spectrum Kernel?
I'm having difficulty plotting the kernel I(k_{1},k) of the cosmic shear power spectrum which is defined as I(k_{1},k) = k_{1}\int^{\infty}_{0}r j_{l}(k_{1}r)dr \int^{r}_{0}\frac{r-r'}{r'}j_{l}(kr')\sqrt{P^{\Phi\Phi}(k)}dr' where the jl are spherical bessel functions. I'v tried plotting I vs... -
K
Mathematica Troubleshooting Mathematica Plotting Problem
Homework Statement I've entered the following piecewise equation into Mathematica: Plot[Piecewise[{{sin (t), 0 <= t < \[Pi]}, {5 + 5 cos (t) + sin (t), \[Pi] <= t < 4*\[Pi]}, {10 cos (t) + sin (t), 4*\[Pi] <= t}}], {t, 0, 20*\[Pi]}] But I am getting a blank graph in return. I've proofread my...- kevmac
- Thread
- Mathematica Piece-wise Piece-wise function Piecewise function Plot Plotting
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
U
Plotting Bode of Resistor w/ DC Source: 20*log(0)
I am ploting bode of resistor connected with DC source.So no freqvancy at all! The bode magnitude plot should be(or it should start from) 20*log(jw)=20*log(0) (jw=0 because we have dc source) what should be the value??for step of 5v... what should bode look like??- ujjval rathod
- Thread
- Bode Bode plot Dc Plotting Resistor Source
- Replies: 12
- Forum: Electrical Engineering
-
N
Is a Line Intersecting at One Point a 1-1 Function?
if we draw a line parallel to the x- axis and passes through a point in the image and the graph intersects at one point is this a one to one function ? -
N
A question on plotting functions on a graph
when i was reading a supplementary notes doc from open course ware fro MIT on single variable calculus there was a description about a graphical representation of a single valued function as " if each line parallel to the y- axis and which passes through a point in the domain intersects the... -
N
A question on plotting functions on a graph
when i was reading a supplementary notes doc from open course ware fro MIT on single variable calculus there was a description about a graphical representation of a single valued function as " if each line parallel to the y- axis and which passes through a point in the domain intersects the... -
Problem of plotting picture and video in Linux HPC
I have a Matlab program that reads data file and then create avi. files and tiff pictures. It runs without problem in window OS using R2014a but cannot run in a Linux high performance computer(HPC). When the Matlab in Linux is started there are two warnings: Warning: No display specified. You...- kelvin490
- Thread
- Linux Matlab Picture Plotting Video
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Plotting graphs in three dimension
I have function1: x = n(cos((pi/2)-2pi/n)) and function2: y = n(sin((pi/2)-2pi/n)) my goal is to plot a graph where for the same value of n, the x and y are respectively the horizontal and vertical component of the point, this graph should preferably possible to create on a computer or a...- 24forChromium
- Thread
- Dimension Graphing Graphs Plotting Three dimension
- Replies: 5
- Forum: General Math
-
P
Would a Force vs. Acceleration Graph Lie in Both Quadrants One and Three?
If plotting F=ma on a graph with F as one axis and a as the other, would the line be in both quadrant one and three since the force vector, and subsequent acceleration vector, could be negative?- Physicsguru21
- Thread
- Acceleration Force Plotting
- Replies: 6
- Forum: Introductory Physics Homework Help
-
Plotting the Probability Density of the Coulomb Wave Function
Hey there - I think I have an issue with my 3D density plots of the probability density of the Coulomb wave function. The reason I think something is going wrong is because my plots of |ψ(n=2, l=1, m=-1)|² and |ψ(2, 1, 1)|² are identical, while I would expect them to have the same shape but be...- tomdodd4598
- Thread
- Coulomb Density Function Hydrogen Plotting Probability Probability density Wave Wave function
- Replies: 7
- Forum: Quantum Physics
-
T
MATLAB Resolving MATLAB Plotting Issue with Velocity & Position
I am trying to plot the magnitude of velocity and position against time but keep running into issues. The error I am getting here is: Subscript indices must either be real positive integers or logicals. Error in project2 (line 46) position(t) = w(1:3);Here is the relevant portion of my...- Triathlete
- Thread
- Matlab Plotting
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Plotting Minkowski diagram for 2 simultaneous accelerating
Homework Statement two objects are at rest in an inertial reference frame. Two objects accelerate simultaneously in the same direction until reaching half the velocity of light and then halt simultaneously. The two objects are initially connected by a thread just long enough to cover the...- aquaman
- Thread
- Diagram Minkowski Minkowski diagram Plotting
- Replies: 2
- Forum: Introductory Physics Homework Help
-
N
MATLAB Plotting Complex Wavefunction - Matlab
Hi, I am wondering how to plot a complex function of the form: Ψ(t) = Ansin(n⋅pi⋅x/L)e-iEnt/h + Bnsin(m⋅pi⋅x/L)e-iEmt/h + ... + where m and n are known eigenvalues of the infinite square well with corresponding energy En, for any particular x? So, this will be a function of solely t. Any help...- Nicolaus
- Thread
- Complex Matlab Plotting Wavefunction
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
Matlab, plotting a directional field
Homework Statement Plot the direction field of y' = −t(y 2 − .5y − .5) for t=[0,5] and y=[-2,2]. Plot a line every 0.25 units in t and y. The length of each line should be 0.1. Hint: Use line(). Look at the picture to determine the starting and ending coordinates of each line. Homework...- javaistheman
- Thread
- Field Matlab Plotting
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Plotting ##I_C## vs. ##V_{CE}## for Resistors in Active Region
Homework Statement I want to plot ##I_C## versus ##V_{CE}## curves for the following: To do so, I need to find appropriate values for ##R_C, R_B## and ##R_1## in the active region. Note that ##R_2## is a potentiometer. Homework Equations ##I_C = 1 mA## ##V_{BE} = 0.7 V## ##\beta = 150##...- STEMucator
- Thread
- Plotting Resistors
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
J
MATLAB Plotting an integral-defined function in MATLAB
At this exact moment, the proper name of functions defined by: f(x) = ∫0xf(t)dt escapes me, so I apologize for the title maybe not being as clear as possible. What I'd like to know is how to go about defining such a function so that I can plot it. Do I just put the variable x into the upper...- jack476
- Thread
- Function Matlab Plotting
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
N
Mathematica Plotting Graphene in Mathematica
I am encountering an issue when I plot attempting to plot 3d band structure of graphene in Mathematica. While the general shape and curvature looks fine, the cones at the K-points are not touching, which is an important qualitative electronic property of graphene. Since further down the line I...- nuclearpasta
- Thread
- Graphene Mathematica Plotting
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
B
Mathematica Plotting A Set of Points in Mathematica
A have the set consisting of the complex numbers ##1 + 3r \cos \theta - i r \sin \theta##, where ## r \in [0,1]## and ##\theta## may vary between ##0## and ##2 \pi##. This is my first encounter with mathematica, and am having difficulty discerning between the methods I have found online which...- Bashyboy
- Thread
- Mathematica Plotting Points Set
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Mathematica Plotting Quadratics and ODE Solutions in Mathematica - A Guide for Beginners
Hi PF! I am trying to plot several quadratics along with two numerical solutions to some ODE's. The command I entered for the two ODE's is Plot[{{Evaluate[y[x] /. t]}, {Evaluate[y[x] /. s]}}, {x, 0, 1.2}, PlotRange -> All] where s and t have been previously defined. The plot for the...- member 428835
- Thread
- Mathematica Plotting
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Mathematica Mathematica problem with plotting
Hello, I'm trying to plot some functions with different parameters on the same graph. For each one I have to calculate some parameters from a matrix A. I need to plot this for several matrices A, so I'd like to be able to just copy-paste the new elements in the matrix A, rather than writing them...- asynja
- Thread
- Mathematica Plot Plotting
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Plotting energy as a function of wavelength
Homework Statement Given work function W=2eV Plot energy of an electron knocked off with respect to wavelength Homework Equations E=hv-W The Attempt at a Solution E=h (c/(lambda))-2 I plotted this and I get a function that goes to infinity with zero wavelength and crosses the x-axis at 6000...- Dextrine
- Thread
- Energy Function Plotting Wavelength
- Replies: 1
- Forum: Introductory Physics Homework Help
-
D
Trigonomic Functions, Plotting from equation
Hi All, Having a tough time with this one and I'm not sure why. Need to state amplitude, period and phase shift of f(x)=3cos2[x-(π/4)]+1. Amplitude being 3, period being 2π/2=π and phase shifted (π/4) to the right. Midline would also be at y=1 Good so far? Right, so I know that 1/4 phase...- dylanjames
- Thread
- Functions Plotting
- Replies: 2
- Forum: Precalculus Mathematics Homework Help
-
Mathematica Using mathematica to arrange data into Bins for plotting
Hi Everyone, I need to organize a bunch of raw data into bins and their frequency. The data is quite large (about 60000 entries). However I am having a lot of trouble with the right commands. I used the Wolfram documentation center but I still keep getting error messages...- majormuss
- Thread
- Data Mathematica Plotting
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Optimizing Plotting for Complex Functions with Large Numbers
Hi PF! I am trying to run the following plot: k = .001; figure; hold on [X,Y]=meshgrid(-4:0.01:4); a = 5.56*10^14; b = .15/(2*.143*10^(-6)); for n = 1:8 k = k*2^(n-1); Z = a./(X.^2+Y.^2).*exp(b.*(X-sqrt(X.^2+Y.^2)))-k; contour3(X,Y,Z) end which works great if a = b = 1. But now...- member 428835
- Thread
- Complex Complex function Function Plotting
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Root Plotting 2d-Array in Histogram
Homework Statement The task is to plot a 2-d surface of the potential and field lines calculated from a numerical method. In this case, there is a charged box (v = 1) @ r = 1 (it's not round, but each side is d = 2 and the center of the box is at the origin) and the edges of the box are v=0...- Rapier
- Thread
- Histogram Plotting Root
- Replies: 3
- Forum: Advanced Physics Homework Help
-
C
Visualizing a Parametric Equation in 3D Space
Homework Statement Given the eqn x=2, y=sin(t), z=cos(t), draw this function in 3-space. Homework Equations ABOVE^ The Attempt at a Solution I did this: x^2+y^2+z^2=2^2+(sin(t))^2+(cos(t))^2=5 Therefore we get x^2+y^2+z^2=5 Which is the eqn of a sphere with radius root5. My friend said it's...- CourtneyS
- Thread
- Graphs Plotting Surfaces Three dimension Vector calculus
- Replies: 3
- Forum: Calculus and Beyond Homework Help
-
R
Plotting Phase Space for Double Pendulum
Homework Statement For a double pendulum, how do we plot the phase space for ##\theta_2## (the lower of the pendulum), i.e. the plot ##\theta_2, \ \dot{\theta}_2?## ##x## = horizontal position of pendulum mass ##y## = vertical position of pendulum mass ##\theta## = angle of pendulum (0 =...- Robben
- Thread
- Double pendulum Pendulum Phase Phase space Plotting Space
- Replies: 8
- Forum: Advanced Physics Homework Help
-
P
Plotting of relay current curves
When Plotting relay current curves using log paper, I understand that all curves should be plotted on a common base voltage (converting currents accordingly) and the curves can be cut at the maximum fault current level that the device is likely to see (corrected to the base current). What I...- Physicist3
- Thread
- Current Curves Plotting Relay
- Replies: 1
- Forum: Electrical Engineering
-
I
Software for "connecting" and plotting multiple equations
Hello Right now I'm going through Feynmans lectures and sometimes the equations really get tons of substitutions so you must look back at where something fits a lot. So my question: is there some software in which you can input multiple (simple) equations and place them around like a "mind...- InvalidState
- Thread
- Multiple Plotting Software
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
Plotting a Beam Deflection Graph
Homework Statement I need to plot a graph showing the deflection of the beam across its length giving a value of x at every 1m. The youngs modulus for the beam is 210 GNm^-2 and the moment of inertia is 54 X 10^-7 m^4 Homework Equations Really unsure where to start on this one. I have found...- stackemup
- Thread
- Beam Beam deflection Deflection Graph Plotting
- Replies: 8
- Forum: Introductory Physics Homework Help
-
J
MATLAB Help please in matlab -- plotting a D'Alembert wave equation
Can someone please help me in plotting a D'Alembert wave equation solution in MATLAB? I am so confused as how to plot it in MATLAB I need to plot a graph like the one below- JI567
- Thread
- D'alembert Matlab Plotting Wave Wave equation
- Replies: 9
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
C/C++ How can I easily install a C++ plot library on a Mac?
Hi All, Not sure if this is the right place for this thread but it seemed like it was. I have been trying for two whole days to get some plotting tools up and running that will work with my: OSX 10.8.5, Xcode 5.1. I have tried MathGL, Plplot, Gnuplot, Chplot, matplotpp, etc. I get errors...- KleZMeR
- Thread
- C++ Graphics Plotting
- Replies: 6
- Forum: Programming and Computer Science
-
A
MHB What Are the Correct Steps to Plot Stability Regions in Numerical Methods?
In many cases one finds code such as x = linspace(-3,1.5,200); y = linspace(-3.5,3.5,200); [X,Y] = meshgrid(x,y); Z = X +Y*i; %Euler's Method M = abs(1+Z); [c,h] = contour(X,Y,M,[1,1]); set(h,'linewidth',2,'edgecolor','g') to plot the stability region of the Euler's Method, where in fact the...- Ally1
- Thread
- Plotting Stability
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
L
MATLAB Plotting a Dose-Volume Histogram from Matrix of Values
Hi, I have a matrix 150x1 with values between 5.321 to 13.226 and I want to use the matrix and plot a dose-volume histogram (https://en.wikipedia.org/wiki/Dose-volume_histogram). Can someone help me.- linger
- Thread
- Histogram Matrix Plotting
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Correcting Speed Graphs on Maps Using Excel
Trying to figure out how to get the curve I want, to plot on a map. This was my first iteration: It's wrong.The following sample will illuminate why. For illustration, the sample is much smaller and far more idealized than my real dataset, which is 100+ datapoints. In my idealized trip, I've...- DaveC426913
- Thread
- Plotting Speed
- Replies: 15
- Forum: General Math
-
P
How is the expression for V(x) plotted using singularity functions?
Homework Statement Can someone explain how the expression for V(x) is plotted? Homework Equations The Attempt at a Solution I understand the plots for the dotted lines but not how they got the actual plot for V(x)- princejan7
- Thread
- Functions Plotting Singularity
- Replies: 3
- Forum: Introductory Physics Homework Help
-
I
MHB Plotting points on ti nspire cx cas
how would i plot points in 3D on the ti nspire cx cas? like these 3 for example: (-4,0,-1), (3,1,-5), (2,4,6)- ineedhelpnow
- Thread
- Cas Nspire Plotting Points
- Replies: 15
- Forum: MATLAB, Maple, Mathematica, LaTeX