Plot Definition and 717 Threads

  1. 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...
  2. 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?
  3. 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...
  4. 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?
  5. 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...
  6. 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!
  7. 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
  8. 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) +...
  9. 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...
  10. 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...
  11. S

    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...
  12. B

    I King plot non-linearity exclusion plot

    Hello I have a questions about the exclusions plots in the paper using King plot nonlinearities (for example Fig. 1 in this paper, but it's basically the same plot in all papers). Why is there a lower limit for the mass of the boson, usually around 1-10 eV? There are many theories predicting...
  13. 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...
  14. M

    Mathematica Plot a vector valued function in cylindrical coordinates

    Hi PF! I have a function ##f(s,\theta) = r(s,\theta)\hat r + t(s,\theta)\hat \theta + z(s,\theta)\hat z##. How can I plot such a thing in Mathematica? Surely there's an easier way than decomposing ##\hat r, \hat \theta## into their ##\hat x,\hat y## components and then using ParametricPlot3D?
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. 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...
  22. S

    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...
  23. 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)
  24. R

    B How to interpret this Bland Altman plot?

    According to this article https://journals.lww.com/anesthesia-analgesia/subjects/Chinese%20Language%20Articles/Fulltext/2016/08000/The_Accuracy_of_6_Inexpensive_Pulse_Oximeters_Not.9.aspx, it said "In one subject for oximeters 3 and 6, the device appeared to have locked onto a saturation value...
  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. C

    MATLAB Generation of a Gaussian a random process with Matlab

    Hello everyone. I am currently working with Matlab. I have a 2D gaussian kernel constructed using the muKL technique (first attached figure). I want to use it to generate realizations of a gaussian random process using the KL theorem. For that, I obtain then all eigenvectors and eigenvalues of...
  28. 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
  29. 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
  30. 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.
  31. 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)
  32. 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?
  33. S

    MATLAB How can I plot a Hohmann Transfer Orbit in MATLAB using ode45?

    function Asteroid_Mining clc %Initial conditions g0 = 9.81; %gravity (m/s^2) p = 1.225; %atmospheric density at sea level (kg/m3) Re = 6378; %radius of Earth (km) Ra = 7.431e7; %distance of Bennu from Earth in (km) [August 2023] G = 6.674e-11/1e9; % Gravitational constant (km3/kg.s2) mu =...
  34. 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)...
  35. 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
  36. 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...
  37. 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:
  38. 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...
  39. 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...
  40. 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...
  41. 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)...
  42. 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...
  43. 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...
  44. M

    Engineering Why Does a DC Generator's Efficiency Change with Power Ratios?

    Summary:: Hello Got the following plot (please see below), and am trying to figure out the phenomena behind it (plot behaviour) What do you guys think? It's a DC Generator to be calibrated. On the x axis: the ratio between the power of the generator / nominal power of the generator, while on...
  45. 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...
  46. 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} =...
  47. 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...
Back
Top