Message Boards Message Boards

GROUPS:

Extract data from 3D plot?

Posted 20 days ago
273 Views
|
5 Replies
|
0 Total Likes
|

Hello friends. I want to extract data from the 3D plot in the following code. I have used MatrixForm[%], but it is not working. Can you help me to get the desired data.

Attachments:
5 Replies

This is a way:

Cases[Normal[%[[1]]], Polygon[pts_, ___] :> pts, All]
Posted 18 days ago

Thanks Sir for your reply.

Posted 18 days ago

Sir, I want to have the data in matrix form, from where I can generate the Excel sheet. Can you help me?

This way you probably get a list of triples:

Union@Flatten[Cases[Normal[%[[1]]], Polygon[pts_, ___] :> pts, All], 
  1]
Posted 14 days ago

Thanks sir for your reply.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract