WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

Mesh has weird white surface

 

johmarjac

Gast


Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 11.02.2019, 13:39     Titel: Mesh has weird white surface
  Antworten mit Zitat      
Hi,

I have been given the task to visualize data in a .csv file.
The data are in the following format:

X (mm), Y (mm), distance (μm)

The expected result is something that looks similar to this:


So there is that sensor being driven over a surface and measuring the distance on every x, y increment.

I have attached the .csv I try to read out.
My current script looks like that:

Code:

data = dlmread("D:\\Desktop\\doppelkratzer.csv", ";")

m=2000
n=2
x=reshape(data(:,1),m,n);
y=reshape(data(:,2),m,n);
z=reshape(data(:,3),m,n);
mesh(x,y,z);
 


and this is how my mesh looks like... The scratches are visible in the surface but there is that weird white plane above the mesh. Can anyone give me some tips how to get rid of that?



Thanks in advance


johmarjac

Gast


Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 11.02.2019, 13:40     Titel:
  Antworten mit Zitat      
CSV: https://pastebin.com/wk5jetLE
 
Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.