Exclude a portion from a scatter plot

7 次查看(过去 30 天)
Rivu
Rivu 2023-7-26
评论: dpb 2023-7-27
Can someone please suggest an efficient way to remove the more red part which is lying on the outer side of the yellow curve ?
This is a Xi2 vs Rigidity distribution (scatter plot) for some events. The axes are in log scale.
I need to introduce a function in this scatter plot to remove the outer yellow part from the whole plot.
  9 个评论
Rivu
Rivu 2023-7-26
编辑:Rivu 2023-7-26
Okay, I apologise for the less information provided.
Here is the brief description of what the plot is : Using matlab , a selection criteria has been developed to distinguish between anti particles and particles. A data is generated when the program is processed. The data contains information about the Rigidity , DeDx , beta (velocity), xi2 etc of the particular particle.
An instance is depicted in the snap below ;
From the data obtained , the values are plotted in a scatter plot to visualize the distribution of Xi2 as a function of Rigidity(Rig) . The x and y axis have been plotted in log scale .
Here blue dots are values of particles and red dots are absolute values of antiparticles.
Now the main objective is to introduce a function in the code so as to exclude most of the antiparticles. From the plot it is observed that 97% of the antiparticles allign in the exterior diagonal portion of the distribution. So with that yellow line (which I have painted afterwards), I wanted to refer to the part of the plot which I want to exclude.
Therefore in a sentence , I want a suggestion as to how to exclude a diagonal portion of a log log scatter plot using Matlab.
I hope I was able to make some sense.
dpb
dpb 2023-7-27
Attach a .mat file with the data, not just images; nothing can be done with them but look...even better would be to add the code to generate the present figure (w/o the line is ok).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by