Quadratic Triangle - tikz - addplot - 2D plot - filecontents

Fragen und Probleme, die nicht den obigen Kategorien zugeordnet werden können


JohannesX

Quadratic Triangle - tikz - addplot - 2D plot - filecontents

Beitrag von JohannesX »

Hallo liebe Latex Freunde,
ich versuche schon lange -vergeblich- die Spannungen (Z) einer Platte (mit den Koordinaten X,Y) als 2d-plot darzustellen. Das ist der akktuelle Stand (vielen Dank an Elke):
\documentclass[margin=5mm]{standalone} 
\usepackage{pgfplots} 
%\pgfplotsset{compat=1.10} 
\usepgfplotslibrary{patchplots} 
\usepackage{filecontents} 

% Erstellen der Datei nodes.dat 
\begin{filecontents}{nodes.dat} 
 X          Y         Z
-44.0651	2343.99	13.09826816
55.9848	2368.11	16.22988554

-75.7082	2102.19	8.33707669
88.9038	2102.33	9.954898355

-111.614	1626.88	2.156923009
119.607	1626.87	2.619794267 
\end{filecontents} 

\begin{document} 
\begin{tikzpicture} 
  \begin{axis}[nodes near coords={(\coordindex)},title=Quadratic Triangle] 
  \addplot[patch,patch type=triangle quadr, shader=interp,point meta=explicit] table[x=X,y=Y,meta=Z]{nodes.dat}; 
  \end{axis} 
\end{tikzpicture} 
\end{document} 
Habt ihr eine Idee?...

prankenandi
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 60
Registriert: Di 8. Apr 2014, 13:59

Beitrag von prankenandi »

Wenn du Muße hast dich in etwas neues einzuarbeiten wäre vielleicht die TikZ Library for Structural Analysis etwas für dich?!?!

MfG
Debian 7 (Wheezy) mit Texlive 2013 und Texmaker

Antworten