Plot Definition and 658 Threads

  1. Swamp Thing

    Mathematica Mathematica: DiscretePlot type plot with x values from a list

    I would like vertical lines with dots at the top of them, with the x-positions and heights coming from {{1.2, 3.5}, {2.3, 4.2}, {5.5, 6.7}} for example.
  2. GravitySK

    I How to plot (x^2-5)^2+y^2=16 without a calculator?

    How do you think?
  3. FireAP

    B Plotting the Space-Time Continuum: Is it Possible?

    How would one plot the space-time continuum graphically(if it were possible,obviously)?
  4. D

    Math/Physics Guidance for Sci-Fi Story Plot Element

    Summary:: 1. At what distance (in km) would a telescope (roughly half the size of Hubble) be able to actually make out features on an approaching object with a 75m cross-section? Hello Everyone, New to the forum, but I've been reading a lot of other posts here and am consistently impressed...
  5. N

    ProProgram for drawing functions

    Hello, good morning. I would like to know if someone knows a program to be able to draw the functions in the same way as the one shown in the image and also allow me to point out an enclosure formed by them without having to use inequalities to do so. Thank you very much for everything beforehand.
  6. N

    Comp Sci Projectile motion plot with odeint

    import numpy as np from scipy.integrate import odeint import matplotlib.pyplot as plt c=0.65 g=9.81 # gravitational force on earth angle=50 # angle at which projectile is launched m=0.1 #returning dx/dt, dy/dt, dv/dt as an array def model(yaf,t): x=yaf[0] # x position is first element of yaf...
  7. G

    What are the spatial dimensions of the plot?

    Is it saying is the plane in the xy or xz or yz plane?
  8. barryj

    I want to see the plot of an inverse function -- can I use a TI84?

    Summary: I am studying inverse functions and want to see a plot of an inverse function. I hope this is an OK post here. Lets say I have a function y = x^3 + x. This function has n inverse sine the derivitave is always positive and is a one on one function. I can easily graph this function...
  9. D

    I Finish and plot this separation of variables problem

    I have a PDE which I have solved numerically using a guass-seidel method, but I want to compare it to the analytical solution. I have used separation of variables to get the general solution, but I need help applying it. The PDE is (1/s)⋅(∂/∂s)[(s/ρ)(∂ψ/∂s)] + (1/s2)⋅(∂/∂Φ)[(1/ρ)(∂ψ/∂Φ)] - 2Ω...
  10. P

    Fortran Program to plot multiple datasets on a single graph in Fortran95

    PROGRAM Test IMPLICIT NONE REAL, PARAMETER :: Omega_m0 = 0.27, Omega_rel0 = 8.24E-5, Omega_L0 = 0.73, Omega_0 = 1.02 REAL :: z_max, z, dz REAL :: I, g_z, g_zplus, S REAL :: d_p0, d_L, d_A, d_nr, d_r INTEGER :: n = 100000 OPEN(UNIT = 10) z_max = 0 DO WHILE (z_max <= 4.001) dz = z_max/n...
  11. Z

    YSICS: Troubleshooting an Equation Plot Issue

    First image showing script and plot Second image where all I have done is slightly change the thickness and now the plot looks very weird. Final image showing the kind of plot I am expecting. Am I just doing something stupid as I can't see what is wrong/different between my equations and the...
  12. R

    Need a cancer to fit a fictional plot

    Summary: For fictional purposes, looking for a cancer which has a very low survival rate but which a patient might be fighting for 1-2 years I'm sure that this is actually a fairly common sub-genre of medical questions, authors asking for a disease to fit a story. I have a lot of side...
  13. S

    Automotive How to plot a power and torque graph for an engine?

    Hello all, I have designed an intake manifold for boxer-6 naturally aspirated petrol engine with 1:1 bore to stroke ratio and has a bore dia of 117.89mm and a volume of 7.8l as part of my master's project. The engine was to produce 450 bhp @ 6500 rpm and I did set a rev limit @7500 rpm. The...
  14. R

    Troubleshooting Jump Discontinuities: Causes & Solutions

    Here is a picture of these plots from a paper: When I try to reproduce the 3rd graph above (yellow line below), I get sharp discontinuities: Those jump discontinuities should not occur, and the function should never rise to the high value of the two other plots. So, what could be the cause...
  15. B

    How can I plot the drag coefficient vs x-coordinate using Fluent 6.3.26

    hello i want to plot the drag coefficient vs x-coordinate using fluent 6.3.26 best regard
  16. C

    Upper axis values through linking with lower axis gnu plot

    I am trying to link the upper axis with the lower axis in gnu plot, that is print out values on the upper axis given a relationship between the upper axis, x2, quantities and the lower axis, x, ones. The relationship between them is x2 = 2*c**2/(2*x**2-c**2) with c=3.1 The following should be...
  17. S

    Python Fitting xtickslabels on a plot (matplotlib)

    How could I improve the below code to fit all the xtickslabels on my plot more nicely (i.e. more spacing between the labels, higher resolution)? Thanks! from pyplot import * yearmonthday=['2003-01-01', '2003-02-01', '2003-03-01', ...] #len(yearmonthday) is 155 kwh = [88883, 99221, 100002, ...]...
  18. Bandersnatch

    I Why is this Hubble plot linear for Omega=2 closed universe?

    On Ned Wright's pages one can find this graph: plotting some supernova data against different expansion models. The main thing here that gives me a pause is the linear relationship for the closed universe with ##\Omega##=2 (red line). There doesn't seem to be any weird scaling involved. What is...
  19. K

    "No tally, no plot" error MCNP6

    I am using the TMESH tally to try and get the flux of a 1 MeV point source through a spherical MESH a distance of 1cm away from the origin and covering all polar and azimuthal angles. When I try to plot using the RUNTPE function I get the error "no tally no plot". I also do not see tally...
  20. bernardoprepmare

    Plot the graph and if the signal is periodic, what is the fundamental?

    I do not know how to declare time t and unit steps. The image of problems to get a better understanding as well.
  21. JD_PM

    Python How to plot vector fields in Matplotlib

    Hi, I want to plot the vector field ##\vec F = ye^x \hat i + (x^2 + e^x) \hat j + z^2e^z \hat k## The code I have tried: # The components of the vector field F_x = y*e**x F_y = x**2 + e**x F_z = z**2*e**z# The grid xf = np.linspace(-0.15, 2.25, 8) yf = np.linspace(-0.15, 2.25, 8) zf =...
  22. JD_PM

    Python Plotting a Helix in Sympy: Troubleshooting and Tips

    I asked this question on SO, but I am having problems with it (I cannot even get into my account now). It seems that people using the IP I am using are asking a lot and that limits the number of questions I can ask. Please have a look at my question. Here's the link: [Moderators note: bold large...
  23. L

    MATLAB How to transform a plot to use a logarithmic scale?

    I wrote the following code in MATLAB: t = [0:0.001:0.1]; noise = randn(1,size(t,2)); a = 15*10^9; b = 15*10^(-3); c = 7*10^8; y = a*exp(-t/b)+c+noise*100000000; fun = @(p,t)p(1)*exp(-t/p(2))+p(3); p0 = [15.5*10^9, 14*10^(-3), 6*10^8]; p = lsqcurvefit(fun, p0, t, y); t_fit = [0:0.0001:0.1]; y_fit...
  24. MathematicalPhysicist

    MATLAB How to Plot y=sin(x)/log(x) in MATLAB Without Imaginary Errors?

    Hi I want to plot the function ##y=\sin(x)/\log(x)## in MATLAB but I get the next error message: Warning: Imaginary parts of complex X and/or Y arguments ignored Here is the script that I used: x = -2*pi:pi/100:2*pi; y = sin(x)/log(x); plot(x,y) How to fix this that I'll get the plot on the...
  25. MattIverson

    What are phase space coordinates and how do you plot them?

    Homework Statement I have phase space coordinates (x0,y0,z0,vx,vy,vz)=(1,0,0,0,1,0). I need to analytically show that these phase space coordinates correspond to a circular orbit. Homework Equations r=sqrt(x^2+y^2+z^2) maybe? The Attempt at a Solution My core problem here is maybe that I...
  26. epenguin

    WolframAlpha: How to plot a family of curves?

    just something I need quickly to illustrate a homework help, don't want to spend much time on. What is the code in WolframAlpha just to plot an ornery family of curves? Searched WA and find all sorts of fancy things, not this ornery one. Should. be something like e,g. For n= 1 to 20 c= n*0.05...
  27. N

    Python How to plot integration equation using Python?

    I have a few of integration equations and need to convert it into Python. The problem is when I tried to plot a graph according to the equation, some of the plot is not same with the original one. The first equation is the error probability of authentication in normal operation: cond equation...
  28. J

    Python Contour plot of Earth's magnetic field in Python

    The Earth's magnetic field is cylindrically symmetric and can be described using cylindrical coordinates, (ρ,z,φ). The components of the magnetic field are given by: (B_φ) = 0 (B_ρ) = −∂A/∂z, (B_z) =(1/ρ) * ∂(ρA)/∂ρ. The vector potential for a dipole field is given by (A_φ) = (B_e)(ρ) *...
  29. Alexanddros81

    Velocity-time graph given. Plot acceleration vs time etc.

    Homework Statement Serway Physics Section 2.4 Acceleration 15. A velocity-time graph for an object moving along the x-axis is shown in Figure P2.15. (a) Plot a graph of the acceleration versus time. Determine the average acceleration of the object (b) in the time interval t=5.00 s to t=15.0 s...
  30. D

    How can I plot equipotentials from this series?....

    Homework Statement The problem is given in the attached picture, but I already have a solution to part a) which I am confident in (I have checked it carefully, compared to other students and confirmed it with my graduate-TA). Part b) asks us to plot the equipotentials but I cannot figure out...
  31. MPavsic

    Induced EMF in closed loops around bar magnet

    I wonder if there is a way to calculate induced EMF in closed loops around bar magnet, which is traveling with constant velocity v to the right as depicted?
  32. M

    Python How to plot timeseries data in Python

    I have a dataframe that looks as attached. What I aiming to do is to plot the lines for each type where if it is for type A, I want to be able to have two lines in the graph that shows the trend for type A. I was not able to find any examples online especially with the format of the data in this...
  33. A

    Python How to get pixel value from a color map?

    I have a python code where it generates two 1D arrays, plots them using scatter plot and then draws colorbar using normalization range. How can I find individual values at those individual pixel points? HC = data["HC"] OC = data["OC"] sample = y widthmm, heightmm = 171, 233 ratio =...
  34. M

    How to plot timestamps within a row?

    i have a dataset that has the timestamp data within each row and I am trying to plot the values to see the distribution but have no idea how to do it if the data is presented this way as attached. any ideas? thanks
  35. M

    MHB Percent Increase what would be the percent increase in the area of the plot?

    If the length and width of a rectangle garden plot were each increased by 20 percent, what would be the percent increase in the area of the plot? My Work: Here I am thinking geometry mixed with algebra. The area of a rectangle is found by using A = bh. A = (0.20)(0.20) Correct set up?
  36. astroman707

    Plot the position of the particle x=Acosbt

    Homework Statement The position of a particle as a function of time is given by x=Acosbt, where A and b are constants. The first question asks to roughly plot the position of the particle over the time interval (0,7) seconds. The second asks what time the particle passes the origin, and what...
  37. M

    Mathematica 3D parametric vector plot question

    Hi PF! Given a vector field ##\vec f## in spherical coordinates as a function of a single parameter ##s##, shown here as $$\vec f(s) = f_r(s) \hat r + f_\theta(s) \hat \theta + f_\phi(s) \hat\phi$$ where here subscripts do not denote partial derivatives, but instead are used to define...
  38. TheQuestionGuy14

    Time related story plot device question

    Hi. So I have a story idea and my main plot device has something to do with time. I want it to be a more science fiction than fantasy so I was hoping someone could help me. The general idea is, a man falls asleep only to wake up 20 years in the future, in one night, he cannot remember the last...
  39. AndresPB

    Response of a System: Transfer Function

    Some time ago I made a modelling project and obtained a plot. Now, I want to remember what the transfer function was, as I want to try changing the parameters. The graph is the following: How can I obtain the transfer function? Thanks a lot
  40. R

    MATLAB Trying to replicate plot similar to stem3 plot, I think.

    About 10 years ago I wrote a program to log my bike rides in Matlab, and part of that program generated a plot whose x and y coordinates were longitude and latitude coordinates and whose z coordinate was the elevation. Sadly, a computer crash and bad backup habits caused me to lose my code. I...
  41. S

    Duplicate a plot - Figure 2.6 Griffiths QM page 55

    Homework Statement Hello, This is not a homework help problem but I believe this question belongs here more so than in the other forums. I would like to (for personal benefit) duplicate / generate the plots in Figure 2.6 of Griffiths Quantum Mechanics book - page 55, 2nd edition. Homework...
  42. B

    Nyquist Plot vs. Complex Function Plot

    This is not a homework problem, I just am confused a little about the differences between a Nyquist plot and the plot of a complex function. I believe they are the same given the domain of the plot of a complex function is for all real numbers equal to or greater than zero. However, I am having...
  43. D

    Problem with plotting a function in MATLAB

    Homework Statement Write code for solving the integral ##\int_{0}^{x}e^{-t^2}dx## using simpsons method and then plot the function from ##x = 0## to ##x = 5## with ##0.1## increment. Homework Equations 3. The Attempt at a Solution [/B] I was told that the best way to plot the function is to...
  44. Telemachus

    How to Plot a 3D Surface from Numerical Data in Mathematica?

    Hi there. I wanted to plot a surface, given implicitly by a function ##f(x,y,z)=c##, with ##c## a constant. My ##f(x,y,z)## is obtained numerically, so I don't know the expression explicitly, I have the values of ##f(x_i,y_j,z_k)## for given integer numbers ##(i,j,k)##, ##i=1,2,3...## same for...
  45. NYAME EPHRAIM

    How can I plot a graph for these opamp results?

    i have build and simulated the op amp circuit, i have recorded the voltage gain at different frequencies, now i need to plot a graph for the two results in same graph paper, i have not plotted a graph before for the related task so i need to understand from the basics, i need some one to...
  46. sbmarantz

    Plot a stereographic hypercube in a Mac's Grapher.app?

    Hello everyone, first post here. I don't need to do this in Grapher.app (the default graphing calculator on every Mac), but it is an elegant humble little app, and I have seen the hypercube projected using it here. I really would love to get the equations and expressions in my own file on my...
  47. E

    I How to plot a scaled lognormal function

    Hi, I am trying to plot a lognormal function. I have the value of μ=3.5, the value of σ=1.5 and the value of the Area = 1965. I have as well the value of the maximum height (Amp.=4724). I am tryiing to plot these with Excel or with R but I do not know how. I know how to plot a distribution of...
  48. Josh chips

    Plot compound parabolic concentrator in Excel

    I have the winston equations for the cpc but i am having problems getting the exact shape of a symmetric compound parabolic concentrator in excel Help me with the corrections in terms of the width 2a =10 and half acceptance angle of 30 dg please
  49. Y

    Scalar in terms of multiple variables, Nyquist & Bode Plot

    Homework Statement A scalar is given by It is controlled by With step time h = 0.2 s 1. Find the discrete equivalent model 2. Check the stability of closed loop (K = +1) 3. Obtain the via the Bode plot Homework EquationsThe Attempt at a Solution So for question 1. This is where I'm...
Back
Top