Plotting Definition and 518 Threads

  1. P

    Plotting T2 and T1 with Variable q: Tips for Graphing Equations

    i have an equation 0.02q=T1-T2 how do i plot a graph between T2 and T1...since all the three are variables i am not able to plot the graph between T2 and T1...kindly help...is der any method to approximate variable q to a constant? so dat i can plot the graph
  2. H

    Plotting & Finding Fourier Coefficients of Waveform Cycle

    Homework Statement Given the first cycle of a waveform: f(t)=2u(t)-2u(t-1)+u(t-2)-u(t-3) -- Plot the first cycle of the wave form -- Find the Fourier Coefficients Homework Equations Given above The Attempt at a Solution No idea yet. Will appreciate any help.
  3. S

    Mathematica Plotting Data in Mathematica | Pareto & Frequency Plots

    I have imported a list of data of this kind 4.447E-02 1.620E-02 1.281E-02 2.585E-02 3.676E-02 1.232E-01 7.635E-02 1.756E-02 1.142E-02 3.676E-02 and it goes on, 2000-ish numbers. I try to do a ParetoPlot and all I get is an empty plot. I have loaded the Statistic Plot Package. Is it...
  4. M

    Plotting PDF for Inter Packet Arrival Times

    Hi Everyone, Iam new one to join the MATLAB .My task is to plot PDF for the given data from the .dat file I have three columns which contains as below like .The first column says port no , second and third is the inter packet arrival times of packet 1 and packet 2 . The whole data is huge...
  5. S

    How to plot 3D data in 2D using Mathematica?

    Hello. I was asked to import a number of data to mathematica from an output file for wien2k (based in fortran). The thing is, I have to draw a graph that considers a matrix full of data in three dimensions, but the graph itself should only have two parameters. To sum up: how to represent 3D data...
  6. K

    Plotting Direction Fields with Mathamatica7

    Can someone please explain to me how one plots direction fields of differential equations in mathamatica 7? Two examples are y'=3-2y y'= -1-2y Thank you
  7. N

    Mathematica Mathematica: Plotting piecewise functions

    Hi guys Take a look at DensityPlot[If[x == 0 && y == 0, 1, 0], {x, -1, 1}, {y, -1, 1}] This just gives me a uniform plot. Why does the peak at the origin not show up? Niles.
  8. I

    Plotting a Suitable Graph to find Emissivity of Tungsten Filament

    Plotting a suitable graph to find emissivity of tungsten It is given that: Q = pσ2πal(T^4 - t^4) Where Q is the Energy Loss Rate, p is Emissivity and T,t are the wire and room temperature. Other symbols are constant. I have data for Q and (T^4- t^4), which for simplification purposes...
  9. C

    Comp Sci Plotting sin x on an XY Plane with C++

    Homework Statement Hi, I'm writing a c++ code which is about making an xy plane with dots and then using an array an plot a math function with a character. the functions i need to plot are sin x, sqrt x and a polynomial. so far I attempted to make a function for plotting sin x, but I always get...
  10. A

    Mathematica Surface plotting problem in Mathematica

    Hi! I would like to plot a so called breathersurface in Mathematica, but it gives a really bad picture, which I do not really want to use in my thesis: http://www.cs.elte.hu/~azo/Breathersurface.JPG" As you can see, it has holes in it, while it should not have. I used here...
  11. F

    Plotting piecewise parametric function

    I want to plot on the same graph: 1 < t < 2 x(t) =1.146967180*(t-1)^3-2.178399723*(2-t)^3+38.3612214*t+106.1461765 y(t)=.3047483217*(t-1)^3-.5750322227*(2-t)^3+10.1163822*t+444.0230985 2 < t < 3 x(t)=-.4672626810*(t-2)^3+1.146967180*(3-t)^3+45.2430246*t+92.3825701...
  12. K

    Plot Stream Lines Using Matlab: ψ4 + ψ2 U2(x2-y2+a2) = U4x2y2

    ψ4 + ψ2 U2(x2-y2+a2) = U4x2y2 This is the stream line equation of a flow along a vertical plate! i need to plot the stream lines using matlab! ψ is the stream function U is constant and 'a' is the plate length
  13. S

    MATLAB Plotting 3D Graph with MATLAB Function

    Hi, i need to pass a function in MATLAB a few parameters, one of the parameters is an equation such as : sin(x)-cos(y) and have it make the 3d graph, i have no problem setting up the meshgrid etc and getting it to work running strait from the m-file function graph = graph(f) n=20; x =...
  14. S

    Plotting the complex exp function in Maple?

    Homework Statement If we have y(x) = e^{i\cdot x} where x\in [0,\pi] How do I plot function in Maple? So it shows anything? The Attempt at a Solution if I write plot(exp(I*x),x=0..Pi); I get an empty coordinate system. Do I need to add some more code to get it to display...
  15. RyanJ

    Mathematica How to Create a Prime Number Image in Mathematica?

    Hey guys! Basically I have a table of prime numbers. What is to write this table as an image - from 1 too 480000 - showing each cell that is a prime as white and the others as black. So basically I'm cycling the numbers from 1-480000 and if they are prime then I want the cell white and...
  16. N

    Which Axis is Correct for Plotting t² and Length in Physics Graphs?

    I have to plot the period t² vs the length but now i am confused which goes on the x-axis and which goes to the y axis, i was wondering if someone could help me out with this issue
  17. M

    MATLAB Plotting Variables (b,u) in Function "Step"

    Hi Friends I want to plot variables (b,u) that are in function "step" . function main [t,v]=ode45('step',[0 20],0,[]); plot(t,v) function dv=step(t,v) c1=1; if t<10 u=1; else u=-1; end dv=c1*u-2*v; b=dv/2; but these variables are unknown in function "main". thanks.
  18. G

    Plotting bounded surfaces with conditions

    Homework Statement Attached question Homework Equations The Attempt at a Solution I tried rearranging S1 for Z then using Maple to plot it, which gave me a cone extending from the point z=1. For S2, would I have to plot it twice? once for <1 and once for =1? I have no...
  19. T

    MATLAB Plotting multiple polynomials in matlab

    Ok, I can plot a single polynomial easy enough such as 3*(x^2)-1 using fplot, but I want to graph multiple polynomials. When I try to use the plot it doesn't work even for one though. The graph is completely wrong. ie I make a new m-file. x = [-1:1]; y = 3*x.^2 - 1; Then call the...
  20. R

    Engineering Plotting Impedance of Parallel RLC Circuit

    Homework Statement Plot |z| vs. f(Hz) of the circuit. R=100, C=600 pf = 6E-12 F, L=10E-6 H . All elements of the circuit are in parallel. Also identify the resonant frequency. Homework Equations ZR=R ZL=jwL ZC=1/(jwC)=-j/(wC) w=2(pi)f w0=1/sqrt(LC) f0=1/(2(pi)sqrt(LC)) G=1/R...
  21. zomgwtf

    News Christian militia accused of plotting to kill cops

    http://news.yahoo.com/s/ap/20100329/ap_on_re_us/us_fbi_raids These guys are crazy, they legit believe that they are preparing for a war beside Christ. What sickened me the most is that they are willing to kill an officer in order to kill even more people at the funeral. Someone on CTV...
  22. MathematicalPhysicist

    Mathematica Plotting PDE by using Mathematica.

    Hi, I have this problem, I need to plot the solution of the next nonlinear-PDE problem: y_{tt}=((y_x)^3)_x+y^3-y where y=y(x,t), and we are looking for a solution with a compact support in (-x0,x0) (which I need to find x0), i.e the solution vanishes for x>=x0 or x<=-x0, and also y=y_x=0 on...
  23. M

    Plotting a spiral with SigmaPlot

    I am trying to use the 'Regression Wizard' in SigmaPlot to obtain a best-fit curve to a data set of ~15 data points that map out a spiral. None of the equation categories given in the regression wizard seem to work (i.e. polynomial, exponential, logarithm, hyperbola etc. etc.) and I am unsure...
  24. I

    Quick question on plotting graph/stuff

    Homework Statement Hi there I have got my pratical tomorrow anyhow there is one thing of which i am bit iffy about. I am given a question where it asks me to plot graph with given data and error bars as well.Next question asks me to draw two lines (a line of steepest and least steep )...
  25. M

    Mathematica Plotting White Noise Distribution in Mathematica

    Does anyone know how to plot noise in mathematica? I want to plot a normal distribution which is white noise in the time domain. This is because I want a constant power spectral density but Gaussian spread of values. Anyway I can plot a list of normal distributed numbers but want to know how to...
  26. I

    Mathematica Mathematica - Axes Plotting (simple)

    Hi there, Making a nice visual for a quantum problem, which is finding the probability of finding the object outside of the classically allowed region for n=0,1,2. One problem: How do I make the y-axis stop after the origin so it doesn't mess up my arrows or my text (see attached)? Any...
  27. R

    Comp Sci  C++ Console Plotting Sine Function

    Homework Statement Write a program that plots and labels the points of the sine function. Homework Equations I can't figure out how to give the points horizontal position. I think it's position is determined by printing a series of 'space' characters followed by a '*' to mark the...
  28. N

    Mathematica Plotting 3D Regions in Mathematica 7

    Hi! I am plotting the following in Mathematica 7. RegionPlot3D[(x^2 + y^2 + z^2 <= 1) && (x < 0 || y > 0 || z < 0), {x, -1, 1}, {y, -1, 1}, {z, -1, 1}, ColorFunction -> Function[{x, y, z}, ColorData["TemperatureMap"][x^2 + y^2 + z^2]], PlotPoints -> 50, Mesh -> False...
  29. Saladsamurai

    MATLAB Plotting Histograms in MATLAB - x-axis Labels Aligned with Tick Marks

    I am having some trouble deciphering how to plot a histogram in MATLAB. My main problem is that I want the x-axis labels to line up with the tick marks. I do NOT want the labels centered and under the bars themselves. I have been looking into the histc() function...
  30. J

    Plotting Derivatives: x''(t) & x'(t) 0-3

    The problem statement. Suppose x''(t) = 1 for 1\leq(t)\leq2, and x''(t) = 0 for all other (t) (a) Plot x''(t) for 0\leq(t)\leq3 (b) Plot x'(t) for 0\leq(t)\leq3. Assume x'(0) = 0 (c) Plot x(t) for 0\leq(t)\leq3. Assume x(0) = 0The attempt at a solution I assumed 'x' being the vertical axis...
  31. V

    Factoring and Plotting a Polar Equation

    Homework Statement The question is: Factor and Plot the polar equation r^2-r+(1/4)sin^2 4 theta Homework Equations N/A The Attempt at a Solution I have no idea how to do this.
  32. F

    Need help plotting simple graph in matlab

    Homework Statement I need to plot a graph in matlab, i typed in the following, V=[0:.2:20]; I=(V^3)-(1.4*V)+0.9; plot(V,I) It comes up with the error, error using mpower, matrix must be square. Any help into how to fix this problem would be great. Thankyou Homework...
  33. S

    Plotting f(x,y)= (x+y)/(y/100+x/50) Using MATLAB in Region -2x<y<=0

    f(x,y)=\frac{(x+y)}{(y/100+x/50)} how can i plot this function with MATLAB in the region restricted between y=-2x and x=0 lines? i wanted to plot that the second region of the cartesian coordinate x=-1:0.1:0; y=-2*x+eps , eps is very small [X,Y]=meshgrid(x,y); z=(X+Y)./(X/100+Y/50); surf(z)...
  34. B

    Plotting Graphs for Physics Labs - Maximize Scale & Break Axis

    So I have a lot of physics labs to write up, and when drawing graphs (using experimental data) I have a tough time 1)Determining the best scale so my graph is as big as possible. 2)Determining the best scale so intercepts(y) appear on my graph. Also, I would like help on "breaking the...
  35. S

    Calculators Plotting a Graph from a Table of Values - Help Needed!

    can some please please tell me how to plot a 'graph'? given a table of value allready. like i have a complete table of values with the x's and the y's .all already i just need to input the values in the calculator to see how the graph of the table values likes like when i select "table" in...
  36. V

    Plotting Functions with Imaginary Terms: Calculator Guide

    Homework Statement How do I plot a function with an imaginary term (e.g. a*exp (ix), etc.)? More importantly, how would I do it on a calculator. Homework Equations The Attempt at a Solution
  37. S

    Plotting a Function Against Its Argument in MATLAB

    Homework Statement I have a function y where y = 3x+2 I made x as a vector in matlab: for i=1:10 x(i) = 4*i but when i do a plot, i don't want to plot y against the vector x but against x as an argumetn of the function. In general if i have any function...how do i plot it against its...
  38. L

    Plotting probability plot by hand

    Anyone knows how to plot a simple probability plot by hand (manually) without using statisical software?
  39. N

    Plotting F=kx Graph for Lab Report

    Hi, I need to plot a graph of F=kx for my lab report. By measuring x, displacement of spring for every mass (20g, 40g,50g) we found k. Now i need to draw F-x graph. I put my F and x data on graph w/o any problems. But when it comes to draw the line of F=kx i get stuck. Using the line's...
  40. S

    Need help plotting a point in 3d space using 2 vector/origin sets.

    Fist, this is for a personal project of mine, I've been out of school for some time, and all my old math skills seem to have abandoned me. For that reason, and because I have to translate anything I learn into functions compatible with c#'s math library, it'd probably be best to keep any answers...
  41. K

    Plotting a triangle formed by 3d vectors in maple

    Suppose that I have three 3d vectors, pq, pr, and v, where v is the cross product of pq and pr. I want to fill the triangle formed by these three vectors, as shown in the picture. But I'm having difficulties finding the right command doing so, I've tried the polygonplot and apparently it...
  42. S

    Help plotting 2 functions on Maple 13

    1. I have 2 problems in which I'm asked to plot a function using maple(sorry i don't know latex yet): a. f(x)=[x^3-1]/[sqrt(x)-1] - find the lim x->1 Here i receive an empty graph for some reason... :( b. f(x)=[tan(3x)]/[tan(5x)] - find the lim x->0 When i attempt to plot this...
  43. K

    Maple Plotting Multiple Functions on Maple Graphs

    Hi there I would like to plot a two/several functions using Maple on the same graph but with different intervals on the x exis. What I have at the moment is a Maple command for plotting two/several functions on the same graph with the same interval on the x exis. Thanks Amos
  44. N

    Mathematica Plotting Gamma Function: \[Gamma][v]

    \[Gamma][v_] := 1/Sqrt[1 - (v)^2] plot1 = Plot[\[Gamma][v], {v, -.99, .99}, PlotStyle -> {Thick, RGBColor[0.6, 0, 0]}, PlotRange -> All] \.08 plot2 = Plot[0, {v, -.99, .99}, PlotRange -> All] \.08 Show[plot1, plot2, PlotRange -> All, AxesLabel -> {"\!\(\*FractionBox[\"v\"...
  45. D

    MATLAB EZ-Plot: Plotting Functions Based on Equations in MATLAB

    Hey. Im trying to make a plot of a function, and was wondering if there was a way to plot it based on the equation that defines the function rather than a set of points on the curve? i.e. instead of plot(x,y) for a set of (x,y) coordinates, id like to just specify the defininig equation...
  46. A

    MATLAB Creating an Array of X Values for Plotting a Function

    I want to create a plot of a given function for all x values between negative infinite to negative R (for some given R value). How do I create an array for x so that my plot will include all the x values?
  47. R

    MATLAB Plotting Maximum Height & Horizontal Distance

    I'm trying to solve the following problem using a MATLAB script but I keep getting an error: Show on the same axes the maximum height and horizontal distance traveled for an object thrown at a speed of 10ms-1 at an angle ranging from 0 to π/2. Equation for distance & height are: D= v2/g...
  48. A

    Plotting equation in mathematica? Any Ideas?

    Hi, I am trying to graph (x+(1/√(1+cos(x)²))) in mathematica, and i used Plot[x + (1/(sqrt (1 + cos (x)^2))), {x, 0, 9}] but I am not getting an output graph. Any ideas?! Plot[x + 1/Sqrt[1 + Cos x^2], {x, 0, 9}, PlotRange -> {-10, 10}] I found few errors, and above is what I got, it's a...
  49. O

    How can I plot the solutions of a differential equation using Maple?

    So I was given the following problem to do in maple: In one ty-graph plot the solutions of y' = cos(pi*ty) for a sequence of 21 equally distributed initial points y(0) between 0 and 4. Hint: You may use commands such as seq, dsolve, numeric, odeplot and display. I started off with...
  50. S

    Mathematica Plotting (& not plotting) Asymptotes in Mathematica

    Hi. I'm just starting to learn how to use Mathematica, and I'd like to know if there's a way to plot a graph of an equation, such as y=\frac{a}{x-h}+k without it showing the vertical asymptote I would also like to know if there's a way to show the horizontal asymptote on the graph...
Back
Top