Plot Definition and 658 Threads

  1. S

    Building a Plot with Array Data: A Challenge

    Hello. I've got an idea to build a plot in real time. What i want to do: 1) I've got a row (array) of numbers 2) for these numbers i calculate values of the expression i want to plot, put them into array, 3) use list plot or smth like that with the row and the array. The question is : how...
  2. J

    How to Create a 3D Plot of Electric Potential for Electromagnetism Homework?

    Hi all, I apologize in advance if this isn't the right forum to put my question. Homework Statement In our electromagnetism course, we were asked to give the 3D plots of the electric potential V(x/y) for the examples on our book. (We're currently using Introduction to Electrodynamics (3rd...
  3. S

    Plotting Equation A with SCILAB: Software and Tips for Summation in Graphs

    please help me plot this equation! A = (2n-2 +2n-3+ {n-4∑i=0 [(-1) n-1-i ]*[2i] } )*B/(2n-2n-1- 2n-2-{n-3∑i=0 [((-1)n-i ) *2i]}) maybe taking b along x axis, n along y-axis and a along z axis. Please post few software or utility name to help me out. But it would be equally useful if someone...
  4. S

    Software to plot high quality figures

    What are the softwares that people usually use to create high quality schematic figures (both in 2D and 3D) suitable for publication? For example Fig 1) in http://arxiv.org/abs/1105.1787
  5. O

    How To Plot A Curve With Given Three Points?

    Hi everyone, Can someone please tell me is there any mathematical equation/formula on ploting a curve with given three coordinates/points such as below image? Thank you very much for your help Op
  6. T

    Mathematica Plot Primorial[x] and Factorial[x] in Mathematica

    How do I plot those together? It seems like Mathematica isn't recognizing Primorial. Every time I try to use it, it just prints it back for output. For example: In[30]:= Primorial[2] Out[30]= Primorial[2]
  7. B

    MATLAB Plotting a Sequence in MATLAB - A Quick Guide

    Hello, How can I plot a sequence in MATLAB. Like individual members of the sequence? Something like this: [PLAIN]http://demo.activemath.org/ActiveMath2/LeAM_calculusPics/DefLimSeq.png?lang=en Thanks
  8. 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...
  9. M

    Interesting plot of an implicit equation with square root of signum functions

    Hello, recently, I have found so called Batman graph and equation, which basically plots Batman sign. I have even found Python code that plots this implicit equation. Code can be found here: . And the equation is given here: [url]http://i.imgur.com/CNy9J.jpg If you look closelx...
  10. M

    MATLAB Creating Circular Image Plots with Transparency in MATLAB

    Hi, Just came across this as an image in a book/monograph and it looks very MATLAB-esque, except I cannot figure out how to possibly create a circular image Say I have a 500x500 matrix and want to plot it as a colour image in this way. Does anyone know how? I've been re-reading the...
  11. A

    MATLAB Creating 3D Scatter Plot in Matlab - Ashley, IU Chemistry

    Hello I am very new to Matlab and need help on importing my data for a 3D plot. Currently, I have x,y,z data that I am trying to import to look like Figure 5 in the following paper: http://www.nature.com/nmeth/journal/v4/n5/fig_tab/nmeth1038_F5.html I have no idea how to import the...
  12. B

    How do I determine the y values for the tail of a vector function plot?

    Hi How do I plot this vector function F(x,y) = i + cos x j where i and j are unit vectors Spose I take x = 0, then the components in i and y direction are 1, 1 x = pi/4, then " " 1, 1/sq rt 2 x = pi/2 " "...
  13. F

    Understanding ParametricPlot in Mathematica: Deciphering Parameters and Ranges

    Homework Statement On Mathematica. Let's say I want to plot y = 4 - x x = 6, x = 0 So a parametric equation would be y = 4 - t x = t So I tried ParametricPlot[{y = 4 -t, x = t},{t,0,6}] But the range (the t values) aer only expanding the y-values.
  14. S

    MATLAB What are some tips for debugging MATLAB plots?

    Dear friends I M. Saravanan, currently working in MATLAB attempting to plot some solutions of the differential equations. When plotting I received a command "Warning: Matrix is singular to working precision" for the solution step in the M files. Since as a beginner this statement make me to...
  15. R

    MATLAB Contour Plot in Matlab: DATA COLLECTED vs TIME in date and hours

    Hello, All. Thank you in advance for any help, contribution and your time. I have been asked to do a contour plot with a data vs time (date and hours), I am new with Matlab and I don't really know how to make this date and hour in a time series vector to do my contour plot. I have added the data...
  16. K

    Plotting Bode Magnitude & Phase Plots By Hand

    How would you plot the magnitude and phase Bode plots for the system transfer function of (4s^3+40s^2)/(4s^4+405s^3+504s^2+400s) I plugged it into MATLAB and got a result but my professor wants hand calculations. Thanks
  17. M

    MATLAB How to Correctly Plot 1/Sqrt(1-(v²/c²)) in Matlab?

    Hey everyone, I'm trying to create a plot in Matlab but just keep getting errors. It works very well in Mathematica but I want to learn some Matlab. However with all the errors I get I will probably stay with Mathematica. Maybe someone here can help me out. So, I'd like to create a plot of...
  18. C

    Statistics help - Scatter plot, regression

    Statistics help -- Scatter plot, regression Homework Statement Consider the following data set for ten first grade students; the variables are the number of minutes spent learning a list of spelling words and the number wrong on the spelling test. [15 points total] (supposed to be a...
  19. N

    Plot a graph to verify the inverse square law and use the graph to estimate ?

    Hi, I know that this is my first post, but please help me! I am having trouble with the following question "The following data was collected from an experiment to measure the gamma ray count-rate at different distances from a sample of cobalt-60 The background count was measured five...
  20. T

    MATLAB Matlab/Octave Scatter Plot: Visualizing Collatz Conjecture for x=1 to 1000

    How do I plot (x, collatz(x)), where x in an integer between 1 and 1000 inclusive, on a scatter plot? function c = collatz(n) c = 0; while(n != 1) if(mod(n,2) == 0) n /= 2; else n = 3 * n + 1; end c++; end end
  21. A

    Plot of energy against space-time

    Plot of energy against space-time (from alpha to omega) I was wondering what a plot of energy against space-time would look like going from alpha to omega, using the assumption that the universe is heading towards an omega of flat absolute zero. I came up with a guess of this...
  22. E

    MATLAB MATLAB Plot function of two variables on 2D Grid

    Hey all - this is my first post on the forum but I've browsed for help for a really long time on other topics. Any help would be greatly appreciated! So I have a function, called stability.m that takes in two independent variables, say x and y, as input and outputs either a 1 or a 0 for each...
  23. H

    Stress-Strain Graph:Why Plot Strain~Stress?

    I have a very fundamental doubt regarding the stress strain graph for many materials..Normally we plot strain ~stress in the graph..but it seems that stress is the independent variable and strain is the dependent variable..but still why nowhere i have found the curve as stress~strain..can...
  24. M

    Creating a Multi Bar Plot in Matlab with Zeros and Proper Legends?

    Homework Statement I have a 6 x 16 data frame "y" which stands for 16 different soil types at 6 different depth as followings 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.37 0 0 0.50 0 0.03 0.03 0 0 0.02 0.05 0 0 0 0 0 0.26 0 0 0.34 0 0.02 0.02 0 0 0.33 0.03 0 0 0 0 0 0 0 0 0 0 0 0 0...
  25. P

    Combining errorbar() and plot() in same figure?

    I'm having a little trouble figuring out the MatLab GUI stuff... I'm not used to the way MatLab does things. At this point all I'd like to do is combine an errobar() and a plot() in the same figure, how would I do this? Thanks!
  26. R

    Mathematica How to plot 3D vector field in spherical coordinates with Mathematica

    I want to graph this vector field -^r/r^2 but I don't know how to do. Any help would be appreciated.
  27. ChristinaJ

    Mathematica Mathematica - Label plot ticks using strings

    All, I have a ListSurfacePlot3D graphic and wish to label the tick marks using strings. For example if I have X={x1,x2,x3} I would like to label each tick mark at that point with a string, i.e. x1="a", x2="b" etc. I would also like to know how to take a list of strings and distribute them...
  28. A

    Mathematica Import and plot multiple data sets in Mathematica

    I have a dat file with multiple data sets, with the following structure: # t = 0.0 , ... -10.000 0.00001 1.000001 ... -9.000 0.00002 0.900001 ... ... 10.000 0.00005 1.000001 ... # t = 0.2 , ... -10.000 0.00301 1.000203 ... -9.000 0.02222 0.900043 ... ... 10.000 0.00025 1.000551...
  29. F

    Does anyone know how set the range and plot?

    Homework Statement In Mathematica, how do you set the range for the z-axis and how to implicity plot 3D graphs without writing them as f(x,y) or f(x,y,z)? Also is it possible to make the graph show the axis?
  30. ChristinaJ

    Mathematica Mathematica: Plot time evolution data in 3D

    Hi all, I have 3 lists of data where lists; A={numbers}, B={numbers} and C={{y,m,d,h,m,s},{...}} (i.e. C is in the form DateList). I have no problem plotting using DateListPlot for the 2D case (C VS A) but can't seem to plot all 3 sets of data together. Mathematica seems not to be able...
  31. B

    Mathematica Mathematica Spatial 3-D List Plot

    I want to plot a list of points where each element is of the form {x,y,z} so that the list is like: { {x1,y1,z1} , {x2,y2,z2} , ... , {xN,yN,zN} }. And I want to connect a line between each consectutive pair (i.e. {x(i-1),y(i-1),z(i-1)} & {x(i),y(i),z(i)} ). Unfortunately, its not as...
  32. M

    Mathematica Plot 3D matrix as 2D plot and 3rd dimension as color in Mathematica

    Hi! It's been like two days since I have tried to make this work, still I got nothing. Searched Google etc. but no help there. I have a three dimensional matrix in form of {{a,b,c}, {d,e,f}, {g,h,i}, ... etc. } with a total of 51 elements, i.e. 51x3 matrix. What I want is to plot it as...
  33. 1

    MATLAB Matlab Pwelch: Changing Units of Plot - Urgent Help

    Hi, I am simulating vibrations in simulink and processing my results in matlab. I am trying plot the PSD for my acceleration results using pwlech method. When I plot the PSD plots from the methods below (NOTE:I have a sampling rate of 0.006 so that means I am using a sample frequency of...
  34. J

    Bode Plot Question(Phase and Gain Margin)

    I have been drawing a few bode diagram by hand and i am ask to find the phase and gain margin of the plot. Can someone please explain what are phase and gain margin, including how to determine it from the bode plot?
  35. J

    Creating Bode Plot: Problem Determining Break Off Frequencies

    I am trying to manually make a bode plot for the transfer function: G(jw)= 5/[jw(1+jw0.6)(1+jw0.1)] I know how to plot it but I am having a problem determining all the break off frequencies. In particular for the term pole at (1+jw0.6). Could someone give...
  36. R

    Exploring the Physical Meaning of a Harmonic Oscillator Probability Density Plot

    Homework Statement I'm talking about the probability density plot of the harmonic oscillator. Is there some physical meaning to be extracted from this? Here's a link that contains the drawing of what I'm talking about http://hyperphysics.phy-astr.gsu.edu/hbase/quantum/hosc5.html...
  37. T

    Drawing a Frequency-Magnitude (Bode) Plot: Thomas's Questions

    I need to draw a frequency- magnitude (bode) plot of this circuit: Firstly I need to find the RC but I don't have a clue. It's meant to be 1ms, and I guess that's from 10k * 100nF BUT why is the 20K not involved? Thanks Thomas
  38. F

    MATLAB How to Plot Multiple Matrices with Different Colors in Matlab?

    Hey guys, I'm having some trouble plotting a matrix. I have a cell in which I've put four matrices. These matrices are variable in length: they are nx2 with n starting on 31 and varying from 0 to 120. De first column of each matrix represents the x-coordinate and the second column represents...
  39. J

    Improving Lines in High Res Multi-Lined Coloured Plot

    I have a multi-lined coloured plot in which I need some lines represented by dashed lines ('linestyle', ':') and I also need my plot to be quite a high resolution (dpi) for publication reasons (print -r600 -dtiff myfile.tif). So this works fine but when I open the tiff file with high resolution...
  40. K

    MATLAB Nyquist Plot Help: Transforming Numerator to Transfer Function"

    i understand that the "nyquist" command in MATLAB requires one to key in the transfer function.. however, i am stuck here as i am unable to form a transfer function from the following numerator and denominator: num = s-3/2-1/2*(-24*s+1)^(1/2) den = 1.25*s^2 +3.75*s + 2.5 i know that...
  41. R

    Mathematica Mathematica: Plot using abstract variables instead of set values

    Hi All, Does anyone know of a way to make plots in mathematica in terms of variables? For example, suppose you had a function sin(a*x), and you wanted to plot it but did not want to set a to a specific value, the purpose being to have the graph report multiples of a, not specific numbers...
  42. D

    Mathematica How to get a plot from Mathematica to Latex (in laymens)

    OK. Could somebody please tell me how to get a graph/plot from Mathematica into WinEdit. I've seached on the internet and it all talks about source codes and a lot of other stuff I don't understand. Copy and paste does not seem to be an option! Could some one exlpain to how to do it...
  43. B

    Mathematica Mathematica Connecting Plot Points

    Given a set of points in a list how can you not only plot them (which I know how to do) but how can you connected a line between each successive pair of points. i.e. { {Point1},{Point2},{Point3},...{PointN} } so that Point 1 has a straight line connecting to Point2, 2 to 3, 3 to...
  44. R

    Finding Maximum Peaks in a Program Plot

    Hi there. I am having some problems trying to find maximum peaks in my program. I plotted out my time vs. current graph. I need to find the maximum peaks. So i started off by setting a threshold of 0.05. After finding values which has a threshold of above 0.05, i plotted them...
  45. P

    MATLAB Matlab Scatter Plot: Adding Colored Point

    I have a scatter plot of data already created. I want to add a different colored point to the plot at specific coordinates. How can I do this? I tried using hold on, plotting my data, then writing scatter(1,0,r) hold off to plot a red point at (1,0) but its not working.
  46. R

    Connecting plot points from nested loops

    Here's small part of a project I'm working on. The code is not part of the grade. I'm just doing this for my own benefit and I figured that MATLAB can do the plotting automatically for me. Calculate the Mach number at each of the three altitudes for mdotf=.1, .2, .3, .4, .5, .6, .7 The flight...
  47. I

    Mathematica How to Specify Tick Number and Distance in Mathematica Plot?

    Hello, does anyone know how to specify the number of ticks to be labelled in a plot at an equal distance, without writing the list of positions explicitly? Thanks!
  48. T

    Finding Derivatives for Bicycle Trajectory Plot in 2D

    Homework Statement Recently I met a Mathcad calculation plotting bicycle path traveled. Initial positions of tire tracks are known, their increments were calculated with bike speed 'v', wheelbase 'p', and steering angle 'a' so via ODE system solving front and rear tracks coordinates were...
  49. S

    Mathematica Create a Colorful Plot with Mathematica's ListPlot Function"

    If I have a list; list={ {{1, 2}, {1, 3}, {1, 5}}, {{2, 2}, {2, 4}, {2, 1}}, {{3, 3}, {3, 5}, {3, 2}} } and want to plot it using ListPlot[list] Is it possibe to colour all the 1st pairs of the list e.g. {1,2}, {2,2}, {3,3} blue, {1,3}, {2,4},{3,5} green and {1,5}, {2,1}, {3,2} red using...
  50. C

    How do you plot complex functions

    Homework Statement Draw graphs of V(x)=\frac{x^2}{1+x^4} and y=\pm\sqrt{2cosx-4\epsilon x+B} Homework Equations The Attempt at a Solution Are we really expected to be able to draw these with just a pen and paper!?
Back
Top