How to plot A Curve That Connects The Highest Values in Y-Axis
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Yaser Khojah
      
 el 26 de Abr. de 2019
  
    
    
    
    
    Editada: Yaser Khojah
      
 el 29 de Abr. de 2019
            Can anyone please help me to create the curve as below. I'm looking for away to plot the highest point at y-axix for all x-axis. I attached my data and plot as below. 
 scatter(MaT_All(:,18), MaT_All(:,17))

2 comentarios
Respuesta aceptada
  Naman Bhaia
      
 el 29 de Abr. de 2019
        Hello Yaser,
I believe the issue you are facing can be solved in two steps:
- Find the maximum value corresponding to each value of x. For this, you can visit this MATLAB Answer thread and see if it helps.
- Plot the values found in the previous step to form the upper boundary .
1 comentario
  Yaser Khojah
      
 el 29 de Abr. de 2019
				
      Editada: Yaser Khojah
      
 el 29 de Abr. de 2019
  
			
		Más respuestas (0)
Ver también
Categorías
				Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


