Plot Definition and 658 Threads

  1. G

    MATLAB Persistent plot legend error in recent install of R2015b

    Hey PFers. I recently did an install of Matlab R2015b on a x64 Windows 10 PC. It doesn't matter what I plot or how I plot it (e.g., plot(), scatter(),etc.), when I use the figure dropdown menu Insert→Legend I get the following error Error using assert Too many input arguments. Error in...
  2. S

    Bode Plot Application: Increase Frequency Response & Magnitude Understanding

    Hello, After long time i am able to find Laplace transform function but can't understand the bode plot which give information of frequency response and magnitude i think plaese anyway here how can push my thinking ahead in it?
  3. V

    A Integrate data plot, combine errors including correlation

    Hello I have a set of data points, with errors (X1 , Y1 +- deltaY1) , (X2 , Y2 +-deltaY2) etc I have the covariance matrix for these bins I want to integrate this set of data points: SUM_i ( Y_i * X_binWidth_i ) How do I combine the errors, taking into consideretation the...
  4. J

    Bode Plot Notation: Gain & Phase Margins Explained

    Hi, i was just wondering if someone would be able to tell me what ωπ means when finding the gain and phase margins on a bode plot?
  5. H

    MATLAB Plotting Graphs in Matlab: Source from PhysRevB.87.241409

    I want to plot some graph like below (Source: http://journals.aps.org/prb/abstract/10.1103/PhysRevB.87.241409) in Matlab. Which command should I use?
  6. nn2e11

    Python Doublet + Uniform Flow // Streamfunction Polar Plot Help

    Hello, Python,CFD and PF newbie here. I am using Spyder (Python 3.5) and I managed to plot my streamfunction in cartesian coordinates. I tried transforming and plotting in polar coordinates but I am not sure that what i have done is correct. I am not even sure what the plot should look like :/...
  7. J

    Bode Plot Method For a Transfer Function

    Hi , I was hoping you could look at this link and let me know if I have interpreted the method correctly http://i.imgur.com/5axTiBN.jpg As I understand it the transfer function has had s replaced by jw but also the top and bottom are divided by 10 - This is so that the brackets on the bottom...
  8. D

    I Regression: which parameters to use and how to plot the data

    Hello! I am yet very weak in statistics, but I am learning some basic finance, and this requires to create regression. Please, take a look at attached files - one excel that contains the results of regression and one screen shot of the window of StatPlus that I have to fill in. Before using my...
  9. kelvin490

    MATLAB How to set zero value boxes transparent in 3D plots?

    I used a function called ind2patch to make a big 3D block which contains a number of smaller blocks in 3 dimensions. Each small block has a value which the magnitude is represented by a color.One example is shown below: However, most of the boxes have very low or zero value and I don't need to...
  10. I

    I Semi ln plot- uncertainty estimation

    Hello there! There is a problem with calculating the uncertainty from semi- ln plot. The linear fitting gives standard errors as you can see in attached picture. In the Y axis are ln J values, obviously. If the intersection with y-axis, x=0, then we get the point y=b=-33,21, and it's ln J', so...
  11. M

    Mathematica How to get data points from plot?

    Hi PF! I used NDSolve to find the solution to a differential equation. I then plotted the solution in mathematica. However, I would like to be able to plot this in LaTex, specifically in TikZ. Can anyone help me here? Thanks so much!
  12. R_AP_22

    Can anyone provide clarification on the following plot

    Homework Statement I was given a plot and a citation, but not too much clarification on what it represents. I believe it is describing mass transfer in a boundary layer. Can anyone clarify Homework Equations J. P. Hartnett and E. R. G. Eckert, Trans. ASME, 13, 247 (1957). The Attempt at a...
  13. H

    MATLAB MATLAB: Plot Contour at 0km Depth

    I'm trying to generate contours that plot with the animation using contour(X,Y) but it's not quite working. I only need it to be in the x-y plane at 0km depth (see picture for greater clarification) % A script to plot two 3D waves. clear %Define the total time for simulation T_total=10; %Set...
  14. Safinaz

    Mathematica Creating a Plot in Two Variables - A Guide

    Hi all, I'd like to make a plot like that in [arXiv:1312.1935], FiG. (2), it's a function plotted in a plan of two variables. I tried : * ListPlot: for example; ##\lambda##[s_,f_]= s+f; list1 = Table[{s, f, ##\lambda##[s, f]}, {s, -1, 1, 0.1}, {f, -1, 1, 0.1}]; ListPlot[list1] But it...
  15. L

    How do you do a Bode plot comparison with LTSpice?

    I'm trying to use LTSpice in order to fine tune LC circuits, but a road block I've hit is that when I run the simulation and generate a bode plot, the previous plot is overwritten, so I can't visually compare the effects of the L C changes. Some graphing programs have a function that let's you...
  16. skate_nerd

    How to make thick line error bar for plot

    Disclaimer: I'm not exactly sure that this topic would belong in this thread but I don't think it would fit better anywhere else. I'm working on writing a paper for my grad research project and my PI wants me to model the plots after another paper that our lab published in the past, but I'm...
  17. Y

    I How to get plot (optical gain of GaAs)?

    How can i calculate this plot (photon energy dependence of the optical gain (or loss = negative gain) of GaAs with the injected carrier density as a parameter? Show calculated plot based on this equation Given parameter: mc=0.067 me; (effective mass of electrons in conduction band) mv=0.48...
  18. Adraasa Kynuei

    A question about a uranium enricher plot device in a game

    Hi! I am a big fan of science fiction, military fiction and all sorts of media covering this kind of topic. :smile: So I have played Metal Gear Solid V: The Phantom Pain and in it there is this plot device called metallic archaea that basically enriches uranium quite easily. This invention...
  19. Thales Costa

    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...
  20. kelvin490

    MATLAB How to use a suitable color bar?

    I have a picture which shows the magnitude of some value in terms of color, like this one: https://www.dropbox.com/s/yoh0n9cqftvrtlz/bar.jpg?dl=0 The higher the magnitude, the more it looks red. However there are only a few points at the edge has very high values and most of the points have...
  21. BubblesAreUs

    Plotting exp(-cx) with MATLAB: Step-by-Step Guide for Homework

    Homework Statement Plotting the exponential exp(-cx), 0 ≤ x ≤ 1 with c = 1, 2, 3, 4. Use a for loop. Homework EquationsThe Attempt at a Solution for c = 1:1:4; for x = 0:1; F = exp(-cx); end end plot(x,F) I'm not really sure where to start.. Help is appreciated.
  22. 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...
  23. rolotomassi

    Plot 0s & 1s Matrix in GNUplot: Solve "No Usable Data" Error

    I have a .txt file which is 50 rows x 50 columns filled with entirely 0's and 1's. I have tried to plot the data with and without spaces between each column. I keep getting this message: gnuplot> splot 'C:\Users\raf\Desktop\PolymerProject\monte carlo code\directionInitial.txt' with pm3d...
  24. karush

    MHB On desmos how do you plot y=3x as a polar equation

    Derive $y=3x$ as a polar equation and plot it. ?
  25. R

    What effects are bounding a missing mass plot? (with figure)

    Hi, so for example in the figure below the missing mass squared has been calculated under the assumption of the detection of a pi+ particle decaying from a K+. What I am wondering is what is it that's bounding all the decays at 0.122 GeV2? And for the decays at all, what is e.g. bounding the...
  26. Mr. Rho

    Mathematica Rotation of 3D Plot using Euler angles

    So, I'm trying to plot a 3D "dipole" (an arrow with a small torus around it basically) in mathematica, and want to rotate it according to Euler angles... I use this code for the rotation matrix: rot[a, b, g] := RotationMatrix[g, {1, 0, 0}].RotationMatrix[b, {0, 1, 0}].RotationMatrix[a, {0, 0...
  27. A

    Identifying type of feedback by looking at bode plot

    Homework Statement Below is the bode plot of return difference, 1+C(S)P(S) in a feedback system. Identify the frequencies where the feedback is large, negative, positive and negligible. P(S) = \frac{100}{s^2+2s+1} C(S) = \frac{220(s+50)}{s+200} Homework Equations Bode Plot, Feedback The...
  28. 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...
  29. S

    Using expm of matlab to plot state responses

    Homework Statement The state space model of a nonlinear system is x'_1(t) = 2x^2_2(t) - 50 x'_2(t) = -x_1(t) - 3x_2(t) + u(t) where x_1(t) and x_2(t) are the states, and u(t) is the input. The output of the system is x_2(t). Find the zero input response (u(t) = 0) of this system linearized at...
  30. L

    MATLAB Help with Integral and MATLAB Equation using Real Numbers

    I carried out a physics experiment and I wanted to analysis the problem with matlab. I have some code in MATLAB that "works" as in it gives ok result but the numbers used are quite nonsensical, I need help making the reworking the equation with real numbers. I am not sure if this is the correct...
  31. Schwarzschild90

    Plot Relative Intensity of Function in Maple

    Homework Statement Plot the following function in maple (any graphics software): I_\theta = I_m (cos (\beta))^2 \left( \frac{sin(\alpha)}{\alpha} \right)^2 Homework Equations Range = -20 degrees to 20 degrees \beta = \frac{\pi d}{\lambda} \sin(\theta) \alpha = \frac{\pi a}{\lambda}...
  32. JasonHathaway

    Deriving transfer function of ramp response out of a plot

    Homework Statement The first order ramp unit response is shown in the graph below. Determine: 1. The transfer function. 2. Plot the error function e(t) then determine its maximum magnitude and the time http://s24.postimg.org/cdbhqm80j/Capture.png Homework Equations G(s)=(1/T)/(S+1/T) ... G(s)...
  33. gfd43tg

    Bode plot and stability margins

    Homework Statement Homework EquationsThe Attempt at a Solution Hello, In part (b), I found ##k_{cu} = 0.5##. I found in part (d) a controller gain of ##k_{c} = -0.3## yielded a diverging output. Here are the bode plots for parts (a),(c), and (d). I don't understand how I should use the...
  34. Invutil

    Gravitational Plot: Accuracy Checked

    Is this the correct plot of gravity and motion? x(t) = x0 + v0 t + 1/2 a t^2 F = G m1 m2 / r^2 x(t) = x0 + v0 t + t^2 / (x2 - x(t))^2
  35. kelvin490

    MATLAB MATLAB how to automatically read a number of files

    I would like to plot a number of 3D graphs from different data files. For example I am using fid = fopen('SS 1.dat','r'); to read the first file and then plot a graph. How to set the program to change the name to 'SS 2.dat' automatically? Also for the tenth file the name becomes 'SS 10.dat'...
  36. S

    Finding work done & temp change by looking at a plot

    Homework Statement Refer to plot attached. Homework Equations (a)Find the work done by a monatomic ideal gas as it expands from point A to point C along the path shown in the figure. (The horizontal axis is marked in increments of 25 m3.) (b) If the temperature of the gas is 215 K at point A...
  37. A

    MATLAB How to plot text file in MATLAB

    I had to use a network analyzer measuring the standing wave pattern along a transmission line taking data points at half mm increments. The software I used got me the values in a text file and the way it is formatted, I can't figure out how to make the left side the X axis and right side the Y...
  38. kelvin490

    MATLAB Enlarging & Repositioning Figures in MATLAB

    I want to create figure that is enlarged, I use: fig = figure(1);%These two lines maximize the figure dialogue set(fig,'Units','normalized','Position',[0,0,1,1]); Then I use zoom(1.9); to enlarge the figure The dialogue is enlarged. But I want to reposition it just like use the "pan" button...
  39. H

    MATLAB How can I position text on multiple Matlab plots with different scales?

    I want to have three plot 1,2,3 in Matlab with the symbols (a), (b) and (c) on plots 1, 2 and 3 respectively.I can do it by text('(a)'), text('(b)'), text('(c)') on the plot 1,2 and 3 respectively but I want to have the three symbols on the same position on the three plots for example...
  40. B

    How do I plot this probability density over time?

    Here's the question: http://imgur.com/N60qRmw I normalized the wave function and got A = sqrt(315/8L^9) but how would I plot representative snapshots if the exponential factor will cancel when I square it? It's not a mixed state so it shouldn't depend on time as far as I can tell. Should I use...
  41. W

    Plot graph of 1D wave equation (using d'Alembert's formula)

    Homework Statement [/B] Don't know if this goes here or in the advanced bit, thought I'd try here first! I know the general solution of a 1D wave equation is given by d'Alembert's formula ##u(x,t) = 0.5[u(x+vt,0) + u(x-vt,0)] + \frac{1}{2v} \int_{x-vt}^{x+vt} \frac{\partial u}{\partial...
  42. S

    Understanding Residual Plots: Impact on Model Relationships and Homoscedasticity

    hey guys, just wondering if the residual plot can tell one anything about the type of relationship in a model i.e is it linear or not? Or does it just tell one if homoscedasticity (i.e equal variances) is observed? thanks
  43. Rectifier

    Bode plot for first order high pass (RL) - reality vs theory

    Hey there! So I have this circuit: with R= 1kOhm and L=10mH and for some reason the theoretical and real values differ drasticly for lower frequencies Brown lines are representing the asymptotic and approximation lines. Blue lines are connecting my measured values. Amplitude is the amplitude...
  44. A

    How to Plot Number Lines with Software

    ... to visualize relative distances between two points of interest. Do any of the microsoft office applications do this? For example, I would like it to start with an origin of 0 on the left, show the number 5, then show the number 146. I just need a good program for plotting these types of...
  45. K

    Scatter plot correlation coefficient

    how can I interpret the condition "if sum of (xi-x_bar)^2(yj-y_bar)^2=0 when i=/=j?" why does this make the line linear?
  46. A

    3D graph plot of a function of multiple variables.

    I am searching for a site that enables me to plot a function of multiple variables in 3D form. Say f(x1,x2,x3,x4) and I wish to plot this function as a 3D graph for x1 and x2 where x3 and x4 are kept constant.
  47. Artribution

    Creating Time Machines for Advanced Civilizations: A Plot Device for Writers

    Hello, lazy writer here. Got a question for you all; apologies if it's been asked before or needs to be moved. Assuming an advanced civilization controlled the Milky May for a period of ~16 giga years (from the galaxy's formation until the merger with Andromeda) and had all that time to work on...
  48. A

    How to find the density of states from IV plot.

    Is there any way to find the density of states from the IV graph
  49. T

    Sketch Bode Plot for $\frac{0.5}{1 - \frac{3145j}{w}}

    Homework Statement \frac{0.5}{1 - \frac{3145j}{w}} , sketch the bode plot Homework EquationsThe Attempt at a Solution Moving the jw to the bottom \frac{0.5}{1+ \frac{3145}{jw}} Let s = jw \frac{0.5}{1+ \frac{3145}{s}} = \frac{0.5}{\frac{s+3145}{s}} = (0.5) \frac{s}{s+3145} =...
  50. B

    Determine acceleration from velocity-position plot

    Homework Statement The velocity of a particle along s-axis is given as v = 5s^(3/2) , where "s" is in millimeters and v is in millimeters/second. Determine the acceleration when "s" is 2 mm. So I've been having trouble with differential equations, and I think that's where I'm messing up. My...
Back
Top