Plot Definition and 658 Threads

  1. hagopbul

    I A Mathematica code to plot two functions on the same screen

    Hello : Trying to remember a Mathematica code (plot) If I want to plot two function on the same screen in the following way F(x) = f( qi)/f(bn) which i = (0,...,n), n =(0,...,m) For every value of i we plot F(x) for all the valuse of n for example F(x) = f(q0)/f(b(n=0,...,m) ),...etc When I...
  2. D

    Mathematica Solving equation and plotting issue with Mathematica

    I have a function ##f(\text{r})\text{=}-\frac{a Q^4}{20 r^6}-\frac{c}{r^{3 \omega +1}}-\frac{2 M}{r}+\frac{8}{3} \pi P r^2+\frac{Q^2}{r^2}+1;## and an expression $$\text{Tinv2}=\frac{2^{2/3} \pi ^{4/3} a Q^4}{9 \sqrt[3]{3} V^{7/3}}+c 2^{2 \omega -\frac{2}{3}} \left(\frac{3}{\pi...
  3. A

    Ltspice - divided two plots from different run simulations

    Hi, I have a plot of v(onoise) of my circle using noise simulation. I also have my V(output) from my ac frequency analysis. How do i divide between the graphs?
  4. D

    Mathematica Coloring and legending issue

    Look at the following Image. The results are okay but clearly the plot colors does not match with the color bar. for example the color bar is showing only single color. the value 0.4 in color bar corresponds to the radius 0.8 which is different color in the plot. Another issue is that I don't...
  5. Elham1990

    News Plot of Parton distribution function

    Hello I plotted the Parton distribution functions in Mathematica. Now I want to compare the graphs drawn with the graphs of other groups(xu and xd). How should I do this?
  6. L

    Mathematica Plot gradient vector in ContourPlot

    Hi, I have made the following ContourPlot in mathematica and now I wanted to ##\vec{r}_1= \left(\begin{array}{c} -1 \\ 1 \end{array}\right)##, ##\vec{r}_2= \left(\begin{array}{c} 0 \\ \sqrt{2} \end{array}\right)## and ##\vec{r}_3= \left(\begin{array}{c} 1 \\ 1 \end{array}\right)## insert the...
  7. Engineer_Kosyakova

    Engineering COMSOL plot of thermal radiation from heated surfaces -- Help please

    There is heating of the surface of the material using an electron beam. It is necessary to calculate how much heat will be released and build a graph of dependence. Please tell me how this can be done, which modules in COMSOL can be used?Thank you!
  8. Islam Nabil

    Need a 3d scatter plot with connected lines

    Need a the source file of a 3d scatter plot with connected lines like attached figure
  9. BiGyElLoWhAt

    3d plot of interference from 2 wave sources with 2d grid surface

    Desired output similar to image, but without the objects and with better wave interference: I tried plugging the following into wolfram (I specifically want the values to be adjustable): plot z= H*e^(-m*sqrt((x-a)^2+(y-b)^2))*sin(k*(x-a)+k*(y-b) -w*t) +...
  10. 1

    MCNP6.2 - How to plot normalized tallies with MCNP6.2?

    Hi everyone, I'm really new to MCNP here and I'm "playing" around trying to understand what is going on. I'd like to plot my tallies (F2, F4 and F6). Is there any tool (e.g. python or matlab package) you recommend? I know that the internal plot MCPLOT is available but I'm wondering how you...
  11. S

    Comp Sci Plot periodic function with Fourier coefficients

    I have plotted the function for ##T=15## and ##\tau=T/30## below with the following code in Python: import numpy as np import matplotlib.pyplot as plt def p(t,T,tau): n=np.floor(t/T) t=t-n*T if t<(2*np.pi*tau): p=np.sin(t/tau) else: p=0 return p...
  12. Swamp Thing

    Mathematica Understanding the Code: How to Extract Data from a Plot in Mathematica

    An answer posted here... https://mathematica.stackexchange.com/questions/19859/plot-extract-data-to-a-file ... says you can extract the data from a Plot by doing this: data = Cases[Plot[Sin@x, {x, 0, 2 Pi}], Line[data_] :> data, -4, 1][[1]]; Having looked at the doc page on Cases, I can't...
  13. Graham87

    Plot the Expectation Value of Spin - Intro to Quantum Mechanics Homework

    I have found an answer to all of them (a-e) but I don’t know how to plot the function. Thanks!
  14. Victini11

    Plot won't show up in Mathematica

  15. M

    Mathematica Plot parametricplot3d like this example

    Hi PF! Here looking at the first answer are two awesome examples of a vibrating membrane plotted from a top view. I can create the first example via fXYZ = {Cos[\[Theta]] Csc[\[Pi]/180] Sin[s Sin[\[Pi]/180]] - 0.001 Cos[\[Theta]] Cos[2 \[Theta]] Sin[ s Sin[\[Pi]/ 180]] (10.7721 (0...
  16. JD_PM

    MATLAB How to plot flow data from an orifice in MATLAB without overlapping the plots?

    I am studying a flow going through an orifice. I am aimed at overlapping the plots for the speed distribution over the vertical width profile (which is 0.015 m long; highlighted in red) for two downstream, horizontal distances [w.r.t. the orifice]: 0.01 m and 0.03 m. The result should look...
  17. neilparker62

    B Just for fun: Cubic Graph Plot

    Desmos.com is a great online graphing utility which I'm sure is familiar to many PF users. I wanted to experiment with the Newton-Raphson method using it so chose solution of cubic graphs as an example. The graph shows a variable cubic on which all turning points and intercepts are calculated...
  18. Strato Incendus

    Writing: Input Wanted Different Cosmic Disasters for Different Plot Points

    Hi again! For my story about the generation ship “Exodus”, I “need” different kinds of cosmic disasters. Some of them actually occur within the story itself; for others, it will just be the impending danger of such a disaster that motivates people’s actions.1) There needs to be a reason for why...
  19. karush

    MHB Plot of y = \dfrac{4}{9}(x-3)(x+3)

    $y = \dfrac{4}{9}(x-3)(x+3)$ ok I can't seem to write tikz to plot this \begin{tikzpicture}[scale=0.50] %preamble \usepackage{pgfplots} \begin{axis}[xmin=-3.5, xmax=3.5, ymin=-5, ymax=5, axis lines=middle, ticks=none] \addplot[ draw = black, smooth, ultra thick...
  20. Tymothee Waldner

    Do Different Temperatures Affect Enzyme Activity in a Parabolic Arrhenius Plot?

    Hi, I am currently doing a kinetic study on an enzyme catalysed reaction and plotting the Arrhenius graph I got a parabola. My idea is to take the derivative at each point, meaning there would be different activation energies depending on the temperature, guessing it is due to enzymes dependency...
  21. H

    I Kurie Plot Y-Axis: Counts, Energy & Time

    I am trying to make a Kurie plot for Sr-90 data collected. I have my data in counts per energy value, and I know the length of time that the measurement was taken for. How do I compute the y-axis values to produce a Kurie plot? Most of what I have read involves momentum; is there a way to get it...
  22. A

    Inverting op amp frequency response Bode plot help

    Using analog discovery 2 kit and the bode plot produced by the network analyzer is off. The scope looks fine and everything is behaving how it should except for the bode plot. The magnitude of the bode plot will start at the correct dB then right before tapering off it shoots up a few dB and...
  23. Swamp Thing

    Mathematica Adapting Unwrapping Techniques for Plotting Phase Values

    This discussion https://community.wolfram.com/groups/-/m/t/1340126 includes some ideas to unwrap a list of wrapped-around values such as phase (e.g. Arg[ f[N] ] ). You can use this to ListPlot a jump-free graph. I'm trying to adapt this to work in Plot rather than ListPlot. The idea is to plot...
  24. A

    MHB How would I plot the following signals?

    I am extremely confused as how to go about this, any help would be greatly appreciated! The signals are: a) 𝑠(𝑛1, 𝑛2) = 𝑢(𝑛1, 𝑛2)𝑢(𝑛1, 𝑛2 + 2) b) 𝑠(𝑛1, 𝑛2) = 𝛿(𝑛1 − 𝑛2 + 1)
  25. C

    Looking for help with interpretation of FTIR transmission plot

    I've had an oil sample analysed by 2 separate labs; one of the labs came back with the analysis stating large amount of contamination with element X (sorry, I won't prejudice any responses with the element name for now). Unfortunately one lab used transmission FTIR and the other used absorbtion...
  26. freddie_mclair

    Extracting mechanical properties from strain-stress plot (real test)

    Hi everyone, recently I was working out an elasto-plastic model to make some residual stress predictions: see it here. Recently I got some real tensile tests results from a lab, therefore I would like to extract a better stress-strain curve to plug into my elasto-plastic model using the...
  27. Phys pilot

    I Energy distribution plot of neutrinos in beta decay

    Hello, When you have a beta decay you get the typical continuos spectrum representing counts against the kinetic energy of the electron. But what's the shape and how I get the spectrum of the kinetic energy of the neutrinos? Thanks
  28. adan

    B I want to smooth this function plot

    Hi, I have the following function, which is computed by: (x+n)/(x+y+n+m), where x, y are real numbers n, m are natural numbers What techniques I can use to smooth the function preventing it to jump up or down at an early stage. I would appreciate your suggestion. Thanks
  29. Leo Liu

    Vector field of gradient vector and contour plot

    Given the equation ##\frac{xy} 3##. It is a fact that the gradient vector function is always perpendicular to the contour graph of the origional function. However it is not so evident in the plot above. Any thought will be appreciated.
  30. S

    MATLAB How to Plot a 4th Degree Polynomial in MATLAB: Step-by-Step Guide

    hey everyone . I want to plot a Grade 4 equation in MATLAB. but don't know how to do. Can anyone guide me? equation : f = 1.47*(x^4)-10^7*(x)+58.92*(10^6)
  31. M

    I Box & Whisker Plot: When, How & Difference

    I know the steps of box and whisker plot, but when should I use it? how can I classify its problems?, what is the difference between it and other statistical methods?
  32. S

    MATLAB How to plot an orbit around the Earth in MATLAB

    Hi. can you help me to plot orbit around Earth with sphere in MATLAB? I wrote the code that plot 3D orbit but without earth. the code: clear all close all clc R=6371e+3; r0=3e+5; p0=[R+r0;0;0;0;10000;0]; [t,p]=ode45(@sattelite,[0,12000],p0); xout=p(:,1); yout=p(:,2); zout=p(:,3); vx=p(:,4)...
  33. carlepy

    Plot Mesh Tally with MCNP - Help request from Carla

    hi dears I am trying to plot my mesh tally with no success. Try it on vised (no tally no plot) and on promt (see photo)... if anyone can give an insight is highly appreciated. tks Carla
  34. karush

    MHB 5.2a plot linear transformations

    ok we are supposed to go to here Find 3 different matrices that reflect the following transformations, report the matrix, the determinant, and the eigenvalues. 1. Rotation by $\dfrac{\pi}{4}$ 2. Shear along $x$ by a factor of $k$ 3. Reflection by the line $\theta$ there are some more but the...
  35. T

    Is it okay to add error bars into a histogram plot?

    I made a histogram based off a dataset and I calculated the uncertainty of the measurements and I included the error bars into my histogram. Is that okay? I am asking because I never seen error bars included with a histogram. I have included an image of my histogram below:
  36. S

    Plot with linspace: display x-tick values not index

    I want my graph to display the tick values along the x-axis, instead of the index number. Because I use linspace, my data goes from 0 to 1, but my index ranges from 1 to 1000. My plot labels the x-axis from 1 to 1000, by default. I want to change the default (or just program it) to display 0 to...
  37. cnh1995

    Concept of 'encirclement' in Nyquist plot

    I know the procedure to construct Nyquist plot and check the stability of the given system. But I am a bit confused about the concept of encirclement in the argument principle. Consider the following figure. This is the Nyquist plot for the given open loop transfer function. The Nyquist contour...
  38. M

    Engineering Magnitude versus Frequency Response Drawing from Pole-Zero Plot

    Hi, EDIT: apologies for any ambiguity, but this is for DISCRETE systems, not analogue like the problem states. I was attempting a problem which is shown below . I am not really sure how to attempt this problem, but here is my attempt. Are there general methods for tackling these types of...
  39. J

    Matlab How to plot values from a loop

    %Debeye theory Heat Capacity of Copper %Garcia Problem 10.16 %Find molar heat capacity from 0-1083K (melting point of Cu) k = 1.38064852e-23; %Boltzmann's constant N = 6.02214e23; %Avagadro's number (atoms per mol) T = 0:1083 ; %Initialize Temp at 0K-1083K theta = 309; %Debeye temp of Cu (K)...
  40. P

    Engineering Bode plot for active low pass filters

    Hi Can anyone help with this? I understand what the bode plots should look like but I am not sure how to produce a plot in excel for them without any values The transfer functions are: Vout/Vin = 1/(SQRT(1+(ω/ωc)^2) and Vout/Vin = -G/(1+j(ω/ωc)) As both are first order filters they will have...
  41. Arman777

    Python Trying to plot parametrized linestlyes - Implementation problem

    I am have couple of datas and when I plot them I am running out of linestyles. I have found couple of **parametrized linestyles** in this site, but somehow I cannot implement them. https://matplotlib.org/3.3.1/gallery/lines_bars_and_markers/linestyles.html Can someone show me what should I do...
  42. C

    Stem and Leaf Plot for a Dependent Children-Homework Question

    The exercise is 2.37 in the book, Exploring Statistics: A modern introduction to data analysis and inference by Larry J. Kitchens 2nd editions. The data is the following: 3 2 2 4 1 1 2 3 4 1 2 0 1 2 1 0 4 2 1 0 0 1 3 0 3 2 2 3 0 3 2 5 0 1 2 1 4 3 0 5 2 0 1 1 2 6 1 2 1 5 I know the...
  43. M

    I Majorana Mass Plot: Normal & Inverted Hierarchy

    Hello! In the attached plot, we have the Majorana mass as a function of the lightest neutrino for the normal (m1<m2<m3) and inverted (m3<m1<m2) hierarchy. Plugging in the values from the PMNS matrix in the formula for Majorana mass, I get something of the form: ##m_{\beta\beta} =...
  44. Wrichik Basu

    MATLAB Using repmat to plot a periodic function

    Consider the following function: $$f(x) = \begin{cases} 1 & \text{when} & -\pi<x<0\\ 0 & \text{when} & 0<x<\pi \end{cases}$$ Beyond ##-\pi## and ##\pi##, the function just repeats itself; it is periodic. I want to plot this function for values beyond ##-\pi## and ##\pi##. The graph should look...
  45. Daniel Lima

    Python How to plot a function with multiple parameters on the same set of axes

    I attached a file with some explanations of the variables in the code and the plot that I should get. I don't know what is wrong. Any help will appreciated. from scipy.integrate import quad import numpy as np from scipy.special import gamma as gamma_function from scipy.constants import e...
  46. Ishika_96_sparkles

    Mathematica How to Enhance 3D Parametric Plots in Mathematica?

    This is the code line that i used to generate the following graphs ParametricPlot3D[{{1 + Cos[t], Sin[t], 2*Sin[t/2]}, {2 *Cos[t]*Sin[\[Phi]], 2*Sin[t]*Sin[\[Phi]], 2*Cos[\[Phi]]}}, {t, 0, 2 \[Pi]}, {\[Phi], 0, \[Pi]/2}, PlotStyle -> {Directive[Green, Thickness[0.025]], Yellow}...
  47. P

    Plot a photon on a space-time diagram

    I think that if we plot an inertial frame in the XY axis separated 90º, the photon, which has a velocity of c, should be put on one of the branches of the light cone. The questions are: Which branch, left or right one? Which position along the branch, if I don't know the distance it has...
  48. P

    Plot the space-time diagram of a photon and a spaceship

    Be the red point this spacecraft , the purple line the world line with slope = 2 and the green point a photon thrown towards the Earth from the spacecraft , would this spacetime diagram ok? (distance would be 1.2 billion km, and the time, 1000 times of shown, but scale is badly displayed, even...
  49. binbagsss

    MATLAB Matlab help please (generating a plot from this data)

    Hi I have saved data in pdf format, and I wish to generate a plot from this data. The data is iterations of optimising some function. I can't just copy and paste it into the live window obviously and then try to generate a figure, so how can I generate a figure, just as I would have done...
Back
Top