Plotting Definition and 518 Threads

  1. S

    MHB 3d plotting software for vectors

    does anyone know an easy to use 3d plotting software with vectors? i have been using maple for some things but 3d plotting vectors and transformations is really slow in maple. i really like geogebra but it can only do 2d vectors. any suggestions?
  2. S

    MATLAB MATLAB Need help with integration and plotting

    Hi, I have been trying to integrate an equation and then plot the result using MATLAB but haven't figured out how to do it. Say, I have an equation of the form dy = (1/x)dx. I want to integrate the above equation and then plot y as a function of x. So, to integrate I do this: syms y x...
  3. GreenGoblin

    MHB How Do You Graphically Represent a Change of Variables in a Coordinate System?

    hi, i need to know how to plot the change of variables am i just to take x, and y as different constants, and treat it as normally on the (u,v) axis? so for the first, it will be like plotting on the (x,y) axis something like y^2 = x^2 - c, for different c, how many lines would i need to plot...
  4. M

    Automotive Plotting Pressure vs Crankangle Diagram for 4-Cylinder Diesel Engine

    I want to plot a cylinder pressure vs crankangle diagram for a 4 cylinder naturally aspirated diesle engine ,do I require AVL boost for this ?and how can you plot it manually?
  5. Y

    Python Python Plotting Help: Solving Circular Orbit with Matplotlib and Numpy

    Homework Statement We need to plot a two points (representation of planets). One is stationary and one is supposed to move on a circular orbit. We are using Python, Matplotlib and Numpy. We're not getting a circular orbit. We're just getting a line. Homework Equations a = F / mass1...
  6. D

    Mathematica Plotting phase curves Mathematica

    I was talking to my professor and I am tying to generate a phase curve that looks like (see attached).However, I am only been able to generate phase portraits.I need to generate a plot that does that.From these equations,$$\dot{x} = -x + ay +x^2y$$$$\dot{y} = b -ay-x^2y$$Here is what I have been...
  7. C

    Plotting a Kurie Plot with a PHA

    Hi... I have to measure the end point energy of a beta minus particle being emitted from a Sr-90 radioactive source. Part of this is plotting a Kurie plot. I am using a pulse height analyser (PHA) to get the beta spectrum (which counts how many beta particles are detected N,on the y-axis and...
  8. D

    Mathematica Plotting Mathematica: Michaelis-Menten Rate of Uptake

    How can I plot this in Mathematica?
  9. D

    Mathematica Plotting Mathematica - Why is this Happening?

    Why is this happening (see picture)?
  10. C

    What is the best approach for plotting the Mandelbrot set using a computer?

    Homework Statement Note: This is not for homework. I'm trying to teach myself programming and this looks like a fun project. I want to plot the Mandelbrot set using a computer. Homework Equations Z_{n+1}=Z_n^2+c for some constant c The Attempt at a Solution Given: Z_0=0, maximum of...
  11. F

    MAPLE help - plotting integration equation

    Homework Statement Does anybody out there have a good knowledge of maple? i am trying to plot out some equations and having a bit of a snag and not sure how to define my variables to make this work. The integral has a constant that ranges from zero to under 1 and this seems to be giving me a...
  12. G

    Functions: instead of plotting points, can you move planes?

    This is a question that has been burning for some time, I have been wondering, instead of plotting the different points of a function onto a steady x and y axis, is it possible to have a single point (at the origin) and have the planes move instead. The space moving around the point. When I...
  13. T

    Plotting Length of Spring vs Load: Find Unloaded Length & Extension

    Homework Statement The following results were obtained when a spring was stretched: Load/N: 1.0 3.0 4.5 6.0 7.5 Length of spring/cm:12.0 15.5 19.0 22.0 25.0 A) use the results to plot a graph of length of spring against load. b) use the graph to find the: i)...
  14. I

    Mathematica Plotting problem with Mathematica 8

    Hi I am trying to do some problem from the book "Student's Introduction to Mathematica" 2ed. I have shown the snapshot of the problem in 1.png. My attempt is a snapshot in 2.png. Please suggest some ways to do this correctly. thanks
  15. T

    Mathematica Mathematica Help - Plotting equation with i

    I cannot seem to make mathematica plot the following equation correctly: r[t_] = 3 Cos[t] + iSin[t]; plotbeta = PolarPlot[r[t], {t, -Pi/2, Pi/2}] I have used the capital I to no avail; I have used * to indicate multiplication. It plots the curve without a problem when I leave out the i...
  16. S

    How can I plot a 3D vertical plane in Mathematica?

    I'm trying to plot something like x+y=2 in 3D. The image should look like this: Been trying to do it in Mathematica using Plot3D, but the it treats the input as a function of z. Another example: Plot3D[x=4,{x,0,10},{y,0,10},AxesLabel{x,y,z}] plots z=4, not x=4. A similar thread, with no...
  17. M

    Plotting Firm's Profits: Verifying the Relationship

    Homework Statement The table gives a firm’s monthly profits for their first few months of business. The numbers are rounded to the nearest £100. Number of months after start up (x) 1 2 3 4 5 6 Profit for this month (£y) 500 800 1200 1900 3000 4800 The firm’s profits, £y, for the...
  18. Y

    Mathematica How to Plot Large Data Sets in Mathematica?

    hi i compile a c++ program and after compiling it gives me a txt file which contains about 50000 points. how i can plot these points in mathematica? thanks
  19. O

    Plotting Height vs Time for an Object Under Air Resistance

    If I wanted to make a graph of height versus time for an object under the effects of air resistance av+bv^2 and thrown with a given initial speed, how would I go about doing that? I was also hoping to get a y versus x graph for a projectile under the same drag, but I presume I could find x...
  20. pairofstrings

    MATLAB Plotting Graphs with Matlab: Solutions to Issue 1,2 & 3

    Hello everyone, thanks for reading my post. Issue 1: Example: Suppose I want to draw a graph for sec θ=x + 1/4x I want 'θ' on the y-axis and different values of 'x' on x-axis. Can I plot the graph using Matlab? Issue 2: I want to know if it's possible to plot graph of complex mathematical...
  21. S

    Plotting electric field lines of a dipole

    I was given this equation as the lines of electric fields of a dipole(two opposite charges separated by a finite distance) e=(1/r^3)*((3cos^2(theta)-1)^2 +sin^2(2theta))^0.5 and I was asked to plot it. I guess it must be something like this: but when I try to plot it in wolframalpha.com in...
  22. L

    Straight Line Graphs -Plotting, Gradient, Intercept & Finding Equation

    Homework Statement I have an issue with Straight Line graphs, I have never done them before (I touched on them in Seconday School, y=mx+c that sort of stuff) Now I've been faced with a problem that I need to learn. It's not homework it's revision but I thought it was more relevant to post here...
  23. S

    MATLAB Solving Differential Equation Plotting with MATLAB

    Dear Friends I am plotting some solution of differential equation in MATLAB and successfully completed but while attempting to save that plot as bitmap format the background of the plot become black with the axis and scale are hidden inside that background. I herewith attached the bitmap format...
  24. O

    Plotting f(x) = cosx sin(2x) and its derivative for x in [-pi, pi]

    QUESTION: Plot the function f(x) = cosx sin(2x) and its derivative, both on the same plot, for π ≤ x ≤ π . Plot the function with a solid line, and the derivative with a dashed line. Add a legend and label the axes. Okay, so this is what I have so far in a script file... x =...
  25. T

    Plotting: Which software do you find best to produce beautiful plots?

    Which mainstream mathematical/scientific software do you think produces the best plots/graphs (aesthetically)? A few choices are: Mathematica, Matlab, Python (Matplotlib), Gnuplot etc. etc.
  26. S

    Enzyme kinetics plotting a slope replot

    hi, My instructor has given us an assignment where we have to diagnose the type of enzyme inhibition it is. I diagnosed it as a competitive inhibitor and am trying to do a slope replot to find my value for KI. For the slope replot, you just find the slope of the each line? is it the same...
  27. B

    MATLAB PDETOOL Matlab - Plotting Linear Element?

    Hi, I've written a script that creates a few rectangles and gives the surface plot in the PDE toolbox. What I would like to do is to also plot the values for a linear element in the surface plot i.e. for a given value of x or y. Any help or ideas would be greatly appreciated! Jay
  28. C

    3D Plotting for Mac: Find the Best Option

    Can anyone help me to find a good 3D plotter for Mac?? I am searching it because I want to plot data that I got from a simulation that I did.
  29. R

    Plotting Kinetic Energy of Mass Against Time and Distance

    Homework Statement A horizontal force of 80N acts on a mass of 6kg resting on a horizontal face. The mass is initially at rest and covers a distance of 5m in 0.92s under the action of the force. Assuming there are no energy losses due to air resistance and therefore that the...
  30. K

    Plotting 2(or more) functions at once

    Hey all, I want to ask a simple question that I can't seem to get answered myself. How is it possible to get Mathematica to plot 2 functions at once? As in, I want to have x^2 {x,0,1} and x^3 {x,1,2} in the same plot graph. More specifically, what I'm trying to do is plot the y-t graph of a...
  31. matt_crouch

    Plotting a best fit curve over a histogram

    Im analyzing some data from a previous student I am trying to plot a line of best fit over the histogram and hense find the value of the coefficiants the files had to be loaded as -ascii so this is the code i have typed so far x=load('filename.mat','-ascii'); mean(x); hist(x,300) this then...
  32. S

    Help with plotting vector fields

    I'm having difficulty plotting a vector field of a first-order system. I understand that I am supposed to select various points, "plug" them into the equations, and then plot the vector from the resulting point. But how do I know in which way the vector is pointing? Once I get the point from...
  33. D

    Need help plotting a 4th order polynomial

    I need help from someone with a graphing calculator. My little brother lost my graphing calculator and synthetic division I can't make work becasue the terms aren't exactly friendly. The equation is, 24.059025x^4 + 94.98287069x^3 + 44.56696001x^2 - 827.1103204x = -1067.832496 The more...
  34. A

    MATLAB Plotting Multiple Graphs in MATLAB

    Dear Fellows, I need to plot a graph in matlab, and stuck in obtaining multi plot from it for different constant values... following example will explain my situation. x=1; y=3; c=x^2+4y+9z z=linspace(0,1.2); plot(z,c,'r') in this I want to plot for y=3,y=4,y=5 and y=0 all curves in...
  35. L

    Trouble plotting a simple sin function

    So all I'm trying to do is plot y = (2sin(3w))/w, w is the angular frequency. I basically want this graph in radians. So this is what I did at first: >> x = [0:.01:20] ; //want bounds from 0 to 20 y = 2.*((sin(3.*x))/x); plot(y) But when I do this I get a graph of nothing, I assumed...
  36. A

    MATLAB Defining Axes in Matlab plotting

    Dear Fellows, I am plotting in matlab, and defined and axis along horizontal in such a way x=0:0.2:1.2; for plot (x, u,'re--' ) but I need to define the limitation of u along vertical axis,,,, can anyone suggest me the exact for range -5 to +1 Regards
  37. K

    How can I use MATLAB to plot and sum values using vectors and matrices?

    Hi everyone, Could someone please tell me how to get MATLAB to do the following seemingly simple task.. j=1:3; k1=1:3; m=eye(3) plot(j,symsum((p8+k1(j)).*m(p8,j),p8,1,3)) or, k=1:3; plot(j,sum((k+k1(j)).*m(k,j))) Thanks for any suggestions, Kate
  38. B

    MATLAB How Do I Set Boundaries on MATLAB Graphs?

    Hello, i am new in using MATLAB, and i stuck with these two graphs (attached). Can anyone help me, please. Thank you.
  39. T

    What are the steps for plotting a phase plane portrait?

    Homework Statement Given x' = y - 2 y' = \frac{1}{4}x-\frac{1}{2} Draw the phase plane. The Attempt at a Solution First I found what I believe are the nullclines by taking x'=0 and y'=0. x' = 0 = y -2 so y = 2. y' = 0 = \frac{1}{4}x-\frac{1}{2} so x = 2. This...
  40. J

    Plotting a Radial Probability Function

    I'm trying to plot the radial probability function for a hydrogen atom. I have the function itself (Psi2*4*pi*r2) my problem is that when I plot the function with angstroms on the x-axis, the y-values are larger than they should be (they look about right if I divide them by the bohr radius in...
  41. S

    Mathematica Plotting points in 3-D in Mathematica

    Hello friends; The points in the source code is supposed to be drawn in 3-D, S in source code means points in cartesian cordinate (X-Y-Z) respectively. I am supposed to draw the points in 3-D graph. Please friends, help me do this. The source Code is below a2 = 90; Rz1 =...
  42. Q

    Plotting S-N Diagram with Cycles to Failure

    how do i plot the follwing S-N diagram, i am having trouble with what I am supposed to do with the 'cycles to failure' figures: stress amplitude ... cycles to failure (y axis)- .... (x axis) 170 ...... 3.7 x 10^4 148 ...... 1 x 10^5 130 ...... 3 x 10^5 114 ...... 1 x 10^6 92 ..... 1 x...
  43. L

    Mathematica Plotting and Integrating difficult functions/Maple or mathematica

    Hi Everybody, So basically I spent the summer working on some optics related stuff and now they want me to present my research work. This means I'm going to have to do numerical simulations for diffraction of Laguerre-Gaussian beam modes. In a word, the integrals are ridiculously long and...
  44. T

    MATLAB How Do You Plot Complex Equations in MATLAB?

    Hi, I am trying to write a short MATLAB program that plots concentration vs distance (oxygen sag curve from two different bod sources in a river). I know the equation I am using is: C= Cs - [(kd*Mo)*(exp(-x*kr/u)-exp(-x*ka/u))/(Q*ka-kr)] - (Cs-Co)*exp(-x*ka/u) -...
  45. J

    3D Density Plotting Solutions for [x,y,z] Data

    I am trying to display a 3D density plot for my data [x,y,z] and have tried 'scatter3' however as some data points are the same it does not represent the density very well. There is a cool function called scattercloud on the file exchange, but this is only for [x,y] data. I would appreciate...
  46. M

    Quickest way of plotting scientific histograms

    I've tried a few methods of plotting histograms from unsorted data, but they're all extremely involved (ROOT) or look very "childish" (online tools). What's the easiest way of plotting a histogram from a unicode text file with numbers in it? Thanks in advance - need the histograms for some...
  47. T

    Double Pendulum Motion: Plotting theta2 vs Time

    Hello all, I have written a python code implementing the Runge-Kutta fourth order method for higher orders to approximate the motion of a double pendulum. The problem I am having is that my plot of theta2 (angle of second rod) Vs time looks a little off and I am curious if I have it correct...
  48. K

    Mathematica Plotting arbitrary constants in mathematica

    How do you plot arbitrary constants in mathematica? for example r(psi)=a(1-eCos(psi)), where a and e are some constant. Thanks in advance for the help.
  49. E

    Plotting an intersection seam on a contour plot ?

    Hi, I have two 2D functions (surfaces), s1(x,y) and s2(x,y) defined via Interpolation. They intersect forming an intersection seam (which is a line). I can plot both functions using Plot3D and I can also plot the seam on the same 3D plot by means of the MeshFunctions option. The comand I...
  50. F

    MATLAB Help with ODE45 and Plotting in MATLAB Loop

    Hey i need help in ODE45...i'm new to PF...pls help me i have the following code >>for i=1:5 >>tspan=[0 30] >>h0=Hv(i) >>[t,h]=ode45['a ODEfunction',tspan,h0] >>plot(t,h) >>end in this loop how can i save 5 values of [t,h], as t, h produces each loop run like follows t= 1 2 3...
Back
Top