Plotting Definition and 560 Threads

  1. K

    Help plotting the Rayleigh line for a flow?

    Homework Statement I need to plot the Rayleigh line for a flow that has the following conditions at one point (Perfect gass assumption holds, R=287 J/kgK, gama=1.4) p = 101.3 kPa T = 300 K s = 6.867*10^3 J/kgK M = .25 My question is what equation am I actually supposed to plot for a Rayleigh...
  2. 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...
  3. 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 )...
  4. 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...
  5. 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...
  6. S

    Need help plotting data points in GNUplot

    Homework Statement Hello everyone, I was wondering if someone could help me plot data points I got in a lab experiment. I've been trying to plot points of data with Gnuplot but the error bars don't show up no matter what I do, below is the data list I am using as input, the first column is...
  7. 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...
  8. X

    Plotting stress tensor in MATLAB, Parametric Surface

    First off, I'm not sure if MATLAB questions go here or not, or if they are even dealt with on this forum. If not more or remove I guess. I am no MATLAB wiz so this is mind-boggling to me. I am given a state of stress at a critical point of a component and told to plot a 3D parametric surface...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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)...
  15. 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...
  16. 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...
  17. 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
  18. 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...
  19. L

    Plotting probability plot by hand

    Anyone knows how to plot a simple probability plot by hand (manually) without using statisical software?
  20. 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...
  21. C

    Plotting Total Power for R=2 Ohms - V1,V2 Range 0-20V, Va = 0

    For R=2 ohms plot Va as a function of V1 and V2. For V1 and V2 are between 0 and 20 volts. Second part is to find the values of V1 and V2 that produce Va = 0 while minimizing the total power absorbed by the resistors (hint you may want a second plot of total power as a function of V1 and V2)...
  22. 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...
  23. 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...
  24. 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...
  25. 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
  26. 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\"...
  27. 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...
  28. 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?
  29. 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...
  30. 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...
  31. T

    MATLAB Matlab code for plotting magnetic scalar potential of a sextupole

    First let me introduce myself. I'm and electronics engineer with 10 years of experience in the instrumentation of particle beams. I left the field for 10 years and have been fortunate to be granted a second lease of life on particle accelerators. Slowly over time the job has come to involve more...
  32. 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...
  33. O

    Maple Solve ODE Plotting for y' = cos(pi*ty) in Maple | Step-by-Step Guide

    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...
  34. 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...
  35. S

    MATLAB How Can I Store Loop Results in Arrays for Plotting in MATLAB?

    Hello, I am trying to store the results in the form of an array every time the code goes through a loop. This is what my code looks like: for j = 1:100 for i= 1:100 if S(i)==0 if rand < T S(i)= 1; t_inf(i) = j; end...
  36. J

    MATLAB How to Stop Matlab from Opening a New Figure in GUI?

    Hello all, I've programmed a GUI to read and plot data from oscilloscope. I have a timer function that updates the graph at 1 Hz frequency. What I want to is to add two vertical lines to the same figure that mark the beginning and end times of CCE measurement. For that purpose, I'm using the...
  37. B

    Plotting a circular vector field

    Homework Statement I'm supposed to sketch the vector field and verify that all the vectors of the following equation have the same length.Homework Equations G(x,y) = \frac{-iy + jx}{\sqrt{x^2+y^2}}The Attempt at a Solution If I start plugging in numbers, for example the point (1,1) into...
  38. T

    How to Sort and Manipulate Data for List Plotting in Mathematica?

    I am importing data as a .dat file into Mathematica and making a list plot. I need to know: a)How to sort the words out of my data? I used to use AllNumeric but that went away with version 6 b)How to switch the axis on my graph? My data is coming in as a pair sequence {1#`,2#`} but I need it...
  39. J

    Solving PDE & Plotting -20 < x < 20, t = 0,1,2,...10

    Homework Statement Hi, so the initial problem was: given \left.\frac{d^{2}u}{dt^{2}} = \frac{d^{2}u}{dx^{2}}} \left.-\infty \leq x \leq \infty \left.u(x,0)=\frac{x}{1+x^{3}} , \frac{du}{dt}(x,0) = 0 Solve the PDE(did this part already) and plot the solution for -20 < x <20 and t =...
  40. J

    Mathematica Need help plotting with mathematica

    Hi, I want to use mathemiatica to predict the spectrum of compounds with different conformers. The input consists of 4 values: frequency (of each vibration and every conformer), Intensity, Polarizability and total energy (of the conformer). I now want to plot the frequency vs the Intensity. 1...
  41. B

    Plotting a Line in 3D from a List of Points

    Hey. Is it possible to plot a line in 3D from one point to another? The source of the points is a list.
  42. C

    Differential Equation - Plotting Phase Plane

    Homework Statement Plot the phase plane of: y(t) = e-6t(2 1) + e-3t(1 -1) Homework Equations The Attempt at a Solution I know it's a sink because \lambda_2 < \lambda_1 < 0. http://img35.imageshack.us/img35/8108/sink.th.jpg but the phase plane in the answer is slanted to...
  43. D

    C/C++ What is the Best C++ Library for Plotting and Graphical Representation of Data?

    I will be making a C++ program for graphical representation of data. The user will import data about for example 4 different objects (some proteins or cells) and the program will plot correlation functions, linear regressions, maps (according to some generalised distance) for these objects. The...
  44. A

    Need help with 3d plotting Vector Field.

    I am in real need for a graphical application with 3d plotting capabilities. I need to plot some particles given their space coordinate. This has been well managed using VMD. But i am clueless how to plot associated velocity vector with particles. So basicall i am looking for to plot velocity...
  45. D

    MATLAB Matlab Plotting of QM double-potential-barrier

    Hey everyone, I have a quantum mechanics/matlab issue. I'm trying to plot the Transmission Coefficient T(E) of a double-potential barrier with barrier width 3nm and spacing 9nm, potential V = 0.5eV and sweeping energy from 0 to 1eV. Using the cascading matrix method where, given a matrix M of...
  46. S

    MATLAB: Separate Points for Plotting

    Hi, I have generated 1000 data points. I have assigned them a class (1 or 0) depending if they are above or below a decision boundary. I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another. any ideasa how I can do this...
  47. S

    MATLAB MATLAB Separate Points for Plotting

    Hi, I have generated 1000 data points. I have assigned them a class (1 or 0) depending if they are above or below a decision boundary. I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another. any ideasa how I can do this...
  48. S

    Plotting Elliptical Orbits for Beginners

    How would you plot the orbits of planets? I know how to calculate velocity and all the other aspects of an obit but I don’t know how to plot elliptical orbits. (This is not homework)
  49. D

    Can MATLAB be used for 3D plotting in calculus work?

    i am learning MATLAB, but have not yet learned anything do do with graphing, but need a program that can plot x.y.z graphs for my calculus work, can someone please help me plot 3d graphs on MATLAB, for example z=x2+2x+y2-y how can i input x,y,z so that MATLAB will give me the surface...
  50. D

    MATLAB Plotting y=x Function in Matlab: Tips for Beginners

    I am new to Matlab and i need to plot a function. However, using y=x as an example it always comes up saying that x is not defined. How do i plot the function without specifying a specific value for x? Graphing y=x is not my real problem. I am used to using TI-83/4 graphics calculators and...
Back
Top