0

I intended to plot a 2d stress field. What I have in hand are 2 eigenvectors and the respective 2 eigenvalues of 2D stress tensor field for all the particles in system. I am afraid that I could not figure out how to evaluate these eigenvectors (direction) and eigenvalues (maximum & minimum stress values) to plot a 2D stress field using any of MATLAB, gnuplot, Grapher, ParaView or any other suitable plate form.

Any form of code (C, C++, MATLAB or ParaView) along with a brief explanation of utilizing this trivial eigen problem will be highly appreciable.

Chris
  • 39,262
  • 15
  • 126
  • 145

2 Answers2

0

Have you tried Matlab quiver?

k107
  • 13,813
  • 7
  • 55
  • 56
0

Akin to matlab's quiver is gnuplot's with vectors plotting style.

Out of curiosity, with only the eigenvector and eigenvalues, how do you expect to get the full 2d stress field? That doesn't seem possible to me (although my linear algebra is a little rusty) ...

mgilson
  • 264,617
  • 51
  • 541
  • 636