Matroids Matheplanet Forum Index
Moderiert von matroid
Kombinatorik & Graphentheorie » Graphentheorie » Streichholzgraphen mit pgfplots, TikZ/pgf
Seite 1   [1 2 3]   3 Seiten
Autor
Kein bestimmter Bereich Streichholzgraphen mit pgfplots, TikZ/pgf
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Themenstart: 2018-08-24

Hi, Ich verstehe nicht, wieso in meinem Beitrag hier bei den ersten beiden Graphen die roten Linien nicht gezeichnet werden, beim dritten aber schon. Weiß jemand den Grund dafür? Gruß, Slash


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.1, vom Themenstarter, eingetragen 2018-08-25

OK, hat sich erledigt. Antwort von StefanVogel siehe hier. Danke. :-)


   Profil
Ex_Senior
  Beitrag No.2, eingetragen 2018-08-25

Oder mal mit TikZ anfangen: $ % https://tex.stackexchange.com/questions/121822/best-way-to-draw-matchstick-pictures % \usetikzlibrary{shapes.geometric,calc} \tikzset{ match/.style = { cylinder, shape aspect = 1.5, cylinder uses custom fill, cylinder body fill=yellow!80!orange, cylinder end fill = red, inner sep = 0pt, minimum width = 2mm, draw = black!30!yellow, sloped, midway, } } \def\match#1#2{ \path let \p1=(#2), \n1={0.8*veclen(\p1)} in (#1) -- +(#2) node[match,minimum height=\n1] {\phantom{x}}; % phantom is required, without it the end of the cylinder is not drawn (?) } \begin{tikzpicture} \foreach \a in {0,30,...,359} { \match{0,0}{\a:3} } \begin{scope}[xshift=4cm,yshift=-3cm] \foreach \i in {0,3,...,5} { \foreach \j in {0,3} { \match{\i,\j}{0:3} \match{\i,\j}{90:3} } } \foreach \i in {0,3,...,4} { \match{\i,6}{0:3} } \end{scope} \end{tikzpicture} $


   Profil
StefanVogel
Senior Letzter Besuch: in der letzten Woche
Dabei seit: 26.11.2005
Mitteilungen: 3969
Wohnort: Raun
  Beitrag No.3, eingetragen 2018-08-25

TikZ ist auch speicherbegrenzt auf etliche hundert Kanten, ohne Punktbeschriftung paar mehr, mit Punktbeschriftung paar weniger. Ich habe auch mal eine bestimmte Speichergröße gelesen, finde aber den Beitrag nicht wieder.


   Profil
Ex_Senior
  Beitrag No.4, eingetragen 2018-08-25

\quoteon(2018-08-25 15:03 - StefanVogel in Beitrag No. 3) TikZ ist auch speicherbegrenzt auf etliche hundert Kanten, ohne Punktbeschriftung paar mehr, mit Punktbeschriftung paar weniger. Ich habe auch mal eine bestimmte Speichergröße gelesen, finde aber den Beitrag nicht wieder. \quoteoff Wo? Hier (auf 60kB)? Oder allgemein? Dann nimm pgfplots. Ich weiß nicht wie diese Graphen konstruiert werden. Wenn es durch Punkte (,) ist würde ich eine (ggf. externe) Tabelle verwenden.


   Profil
StefanVogel
Senior Letzter Besuch: in der letzten Woche
Dabei seit: 26.11.2005
Mitteilungen: 3969
Wohnort: Raun
  Beitrag No.5, eingetragen 2018-08-25

Hier wenn ich diesen Beitrag schreibe und dabei [Tikz] anklicke. Der erste Graph geht \sourceon TikZ \begin{tikzpicture}[scale=1] \coordinate[label=right:$P1$] (P1) at (-1.1717162204364482,-1.2438603237396717); \coordinate[label=right:$P2$] (P2) at (-0.17174355859240942,-1.2364660310387023); \coordinate[label=right:$P3$] (P3) at (-0.6781335348364861,-0.3741614491423033); \coordinate[label=right:$P4$] (P4) at (0.3218391270075527,-0.36676715644133406); \coordinate[label=right:$P5$] (P5) at (0.8282291032516291,-1.229071738337733); \coordinate[label=right:$P6$] (P6) at (-0.18455084923652396,0.49553742545506485); \coordinate[label=right:$P7$] (P7) at (-0.8143498470433744,-0.30989604435427565); \coordinate[label=right:$P8$] (P8) at (-1.801869825914891,-0.46738982623025643); \coordinate[label=right:$P9$] (P9) at (-1.4445034525218172,0.46657445315513935); \coordinate[label=right:$P10$] (P10) at (-2.4320234313933335,0.30908067127915867); \coordinate[label=right:$P11$] (P11) at (-2.07465705800026,1.2430449506645542); \coordinate[label=right:$P12$] (P12) at (-3.062177036871776,1.0855511687885737); \coordinate[label=right:$P13$] (P13) at (-2.0841791418931095,1.2941659271766062); \coordinate[label=right:$P14$] (P14) at (-2.753843769750832,2.0368295698818204); \coordinate[label=right:$P15$] (P15) at (-1.7758458747721655,2.245444328269853); \coordinate[label=right:$P16$] (P16) at (-2.4455105026298876,2.9881079709750673); \coordinate[label=right:$P17$] (P17) at (-1.1061812469144432,1.5027806855646384); \coordinate[label=right:$P18$] (P18) at (-1.365481407763258,0.5341881627635403); \coordinate[label=right:$P19$] (P19) at (-0.3667394327326628,0.5843326271837114); \coordinate[label=right:$P20$] (P20) at (-0.9095368002949935,1.4241963171759648); \coordinate[label=right:$P21$] (P21) at (0.08920517473560169,1.4743407815961358); \coordinate[label=right:$P22$] (P22) at (-0.6388532535784485,2.3868647011675406); \coordinate[label=right:$P23$] (P23) at (-1.6388002473934493,2.3971607955893477); \coordinate[label=right:$P24$] (P24) at (-1.5303801088329771,3.3912659578103916); \coordinate[label=right:$P25$] (P25) at (-0.7236698535965389,2.800318782424672); \coordinate[label=right:$P26$] (P26) at (-0.615249715036067,3.7944239446457155); \coordinate[label=right:$P27$] (P27) at (0.19146054020037115,3.2034767692599964); \coordinate[label=right:$P28$] (P28) at (0.29988067876084323,4.19758193148104); \coordinate[label=right:$P29$] (P29) at (0.3463625717305354,2.215546933376988); \coordinate[label=right:$P30$] (P30) at (2.2998260024489205,4.212370516882978); \coordinate[label=right:$P31$] (P31) at (1.2998533406048816,4.204976224182009); \coordinate[label=right:$P32$] (P32) at (1.806243316848959,3.3426716422856106); \coordinate[label=right:$P33$] (P33) at (0.8062706550049202,3.3352773495846413); \coordinate[label=right:$P34$] (P34) at (1.312660631248997,2.4729727676882427); \coordinate[label=right:$P35$] (P35) at (1.9424596290558465,3.2784062374975824); \coordinate[label=right:$P36$] (P36) at (2.929979607927364,3.4359000193735643); \coordinate[label=right:$P37$] (P37) at (2.5726132345342907,2.501935739988167); \coordinate[label=right:$P38$] (P38) at (3.5601332134058046,2.6594295218641464); \coordinate[label=right:$P39$] (P39) at (3.2027668400127323,1.7254652424787538); \coordinate[label=right:$P40$] (P40) at (4.190286818884249,1.8829590243547325); \coordinate[label=right:$P41$] (P41) at (3.2122889239055827,1.6743442659667005); \coordinate[label=right:$P42$] (P42) at (3.881953551763305,0.9316806232614884); \coordinate[label=right:$P43$] (P43) at (2.903955656784638,0.7230658648734548); \coordinate[label=right:$P44$] (P44) at (3.57362028464236,-0.019597777831761486); \coordinate[label=right:$P45$] (P45) at (2.2342910289269153,1.465729507578669); \coordinate[label=right:$P46$] (P46) at (2.4935911897757306,2.4343220303797666); \coordinate[label=right:$P47$] (P47) at (1.494849214745135,2.384177565959596); \coordinate[label=right:$P48$] (P48) at (2.037646582307466,1.5443138759673425); \coordinate[label=right:$P49$] (P49) at (1.0389046072768726,1.494169411547172); \coordinate[label=right:$P50$] (P50) at (1.7669630355909198,0.5816454919757651); \coordinate[label=right:$P51$] (P51) at (2.7669100294059215,0.5713493975539586); \coordinate[label=right:$P52$] (P52) at (2.658489890845449,-0.4227557646670849); \coordinate[label=right:$P53$] (P53) at (1.8517796356090102,0.16819141071863597); \coordinate[label=right:$P54$] (P54) at (1.7433594970485429,-0.8259137515024099); \coordinate[label=right:$P55$] (P55) at (0.9366492418120863,-0.234966576116692); \coordinate[label=right:$P56$] (P56) at (0.7817472102819266,0.7529632597663174); \draw (P2) -- (P1) (P3) -- (P1) (P3) -- (P2) (P4) -- (P3) (P4) -- (P2) (P5) -- (P4) (P5) -- (P2) (P5) -- (P54) (P5) -- (P55) (P6) -- (P3) (P6) -- (P4) (P6) -- (P21) (P7) -- (P1) (P8) -- (P1) (P8) -- (P7) (P9) -- (P8) (P9) -- (P7) (P10) -- (P8) (P10) -- (P9) (P11) -- (P10) (P11) -- (P9) (P12) -- (P10) (P12) -- (P11) (P13) -- (P12) (P14) -- (P12) (P14) -- (P13) (P15) -- (P14) (P15) -- (P13) (P16) -- (P14) (P16) -- (P15) (P17) -- (P15) (P17) -- (P13) (P18) -- (P17) (P18) -- (P11) (P19) -- (P18) (P19) -- (P7) (P20) -- (P18) (P20) -- (P19) (P21) -- (P20) (P21) -- (P19) (P21) -- (P56) (P22) -- (P17) (P22) -- (P20) (P23) -- (P22) (P23) -- (P16) (P24) -- (P16) (P24) -- (P23) (P25) -- (P24) (P25) -- (P23) (P26) -- (P24) (P26) -- (P25) (P27) -- (P26) (P27) -- (P25) (P28) -- (P26) (P28) -- (P27) (P28) -- (P31) (P28) -- (P33) (P29) -- (P27) (P29) -- (P22) (P29) -- (P49) (P29) -- (P34) (P31) -- (P30) (P32) -- (P30) (P32) -- (P31) (P33) -- (P31) (P33) -- (P32) (P34) -- (P32) (P34) -- (P33) (P34) -- (P49) (P35) -- (P30) (P36) -- (P30) (P36) -- (P35) (P37) -- (P35) (P37) -- (P36) (P38) -- (P36) (P38) -- (P37) (P39) -- (P37) (P39) -- (P38) (P40) -- (P38) (P40) -- (P39) (P41) -- (P40) (P42) -- (P40) (P42) -- (P41) (P43) -- (P41) (P43) -- (P42) (P44) -- (P42) (P44) -- (P43) (P45) -- (P41) (P45) -- (P43) (P46) -- (P39) (P46) -- (P45) (P47) -- (P35) (P47) -- (P46) (P48) -- (P46) (P48) -- (P47) (P49) -- (P47) (P49) -- (P48) (P50) -- (P45) (P50) -- (P48) (P51) -- (P44) (P51) -- (P50) (P52) -- (P44) (P52) -- (P51) (P53) -- (P51) (P53) -- (P52) (P54) -- (P52) (P54) -- (P53) (P55) -- (P53) (P55) -- (P54) (P56) -- (P50) (P56) -- (P55) (P56) -- (P6) ; \end{tikzpicture} \sourceoff beim zweiten \sourceon TikZ \begin{tikzpicture}[scale=1] \coordinate[label=right:$P1$] (P1) at (0,3.6); \coordinate[label=right:$P2$] (P2) at (1,3.6); \coordinate[label=right:$P3$] (P3) at (0.5,4.466025403784439); \coordinate[label=right:$P4$] (P4) at (-0.49999999999999983,4.466025403784439); \coordinate[label=right:$P5$] (P5) at (-0.9999999999999997,3.6); \coordinate[label=right:$P6$] (P6) at (-0.49999999999999983,2.7339745962155617); \coordinate[label=right:$P7$] (P7) at (0.49999999999999994,2.733974596215562); \coordinate[label=right:$P8$] (P8) at (1.4921397450962103e-15,1.075662201037862); \coordinate[label=right:$P9$] (P9) at (-0.22871355387816833,2.0491559659241183); \coordinate[label=right:$P10$] (P10) at (0.72871355387817,1.7604808313293063); \coordinate[label=right:$P11$] (P11) at (0.22871355387816997,2.0491559659241187); \coordinate[label=right:$P12$] (P12) at (-0.7287135538781675,1.7604808313293046); \coordinate[label=right:$P13$] (P13) at (-2.1861406616345063,2.33783110051893); \coordinate[label=right:$P14$] (P14) at (-1.4574271077563379,3.022649730810374); \coordinate[label=right:$P15$] (P15) at (-1.2287135538781684,2.0491559659241183); \coordinate[label=right:$P16$] (P16) at (-1.2287135538781682,2.626506235113743); \coordinate[label=right:$P17$] (P17) at (-1.9574271077563374,3.3113248654051857); \coordinate[label=right:$P18$] (P18) at (-2.186140661634507,4.862168899481069); \coordinate[label=right:$P19$] (P19) at (-1.2287135538781688,4.573493764886257); \coordinate[label=right:$P20$] (P20) at (-1.9574271077563372,3.888675134594812); \coordinate[label=right:$P21$] (P21) at (-1.4574271077563379,4.177350269189624); \coordinate[label=right:$P22$] (P22) at (-1.2287135538781697,5.150844034075881); \coordinate[label=right:$P23$] (P23) at (-7.105427357601002e-16,6.124337798962139); \coordinate[label=right:$P24$] (P24) at (0.22871355387816902,5.150844034075883); \coordinate[label=right:$P25$] (P25) at (-0.7287135538781696,5.439519168670695); \coordinate[label=right:$P26$] (P26) at (-0.22871355387816947,5.150844034075882); \coordinate[label=right:$P27$] (P27) at (0.728713553878168,5.439519168670695); \coordinate[label=right:$P28$] (P28) at (2.1861406616345067,4.86216889948107); \coordinate[label=right:$P29$] (P29) at (1.4574271077563379,4.177350269189626); \coordinate[label=right:$P30$] (P30) at (1.2287135538781682,5.150844034075882); \coordinate[label=right:$P31$] (P31) at (1.2287135538781684,4.573493764886257); \coordinate[label=right:$P32$] (P32) at (1.9574271077563379,3.888675134594814); \coordinate[label=right:$P33$] (P33) at (2.186140661634507,2.337831100518932); \coordinate[label=right:$P34$] (P34) at (1.2287135538781688,2.626506235113744); \coordinate[label=right:$P35$] (P35) at (1.9574271077563379,3.3113248654051883); \coordinate[label=right:$P36$] (P36) at (1.4574271077563379,3.0226497308103752); \coordinate[label=right:$P37$] (P37) at (1.2287135538781695,2.049155965924119); \coordinate[label=right:$P38$] (P38) at (1.9999999999999998,3.6); \coordinate[label=right:$P39$] (P39) at (1.4999999999999998,4.466025403784439); \coordinate[label=right:$P42$] (P42) at (1.4999999999999998,2.7339745962155626); \coordinate[label=right:$P43$] (P43) at (1.0000000000000013,1.0756622010378611); \coordinate[label=right:$P44$] (P44) at (0.7712864461218314,2.049155965924118); \coordinate[label=right:$P45$] (P45) at (1.7287135538781693,1.760480831329306); \coordinate[label=right:$P47$] (P47) at (0.271286446121832,1.7604808313293048); \coordinate[label=right:$P48$] (P48) at (-1.1861406616345065,2.33783110051893); \coordinate[label=right:$P49$] (P49) at (-0.45742710775633805,3.022649730810374); \coordinate[label=right:$P51$] (P51) at (-0.22871355387816844,2.6265062351137427); \coordinate[label=right:$P52$] (P52) at (-0.9574271077563378,3.3113248654051857); \coordinate[label=right:$P53$] (P53) at (-1.1861406616345078,4.862168899481069); \coordinate[label=right:$P54$] (P54) at (-0.22871355387816927,4.573493764886257); \coordinate[label=right:$P55$] (P55) at (-0.9574271077563375,3.8886751345948123); \coordinate[label=right:$P56$] (P56) at (-0.45742710775633827,4.177350269189624); \coordinate[label=right:$P58$] (P58) at (0.9999999999999993,6.124337798962139); \coordinate[label=right:$P60$] (P60) at (0.27128644612183067,5.439519168670694); \coordinate[label=right:$P61$] (P61) at (0.7712864461218304,5.150844034075882); \coordinate[label=right:$P62$] (P62) at (1.7287135538781682,5.439519168670696); \coordinate[label=right:$P63$] (P63) at (3.1861406616345063,4.86216889948107); \coordinate[label=right:$P64$] (P64) at (2.4574271077563377,4.177350269189625); \coordinate[label=right:$P65$] (P65) at (2.228713553878168,5.150844034075883); \coordinate[label=right:$P66$] (P66) at (2.228713553878168,4.573493764886255); \coordinate[label=right:$P67$] (P67) at (2.9574271077563377,3.888675134594812); \coordinate[label=right:$P68$] (P68) at (3.1861406616345067,2.3378311005189305); \coordinate[label=right:$P69$] (P69) at (2.2287135538781686,2.626506235113745); \coordinate[label=right:$P70$] (P70) at (2.9574271077563377,3.3113248654051883); \coordinate[label=right:$P71$] (P71) at (2.4574271077563377,3.022649730810376); \coordinate[label=right:$P72$] (P72) at (2.228713553878169,2.049155965924119); \coordinate[label=right:$P73$] (P73) at (1.0000000000000002,5.332050807568877); \coordinate[label=right:$P74$] (P74) at (1.0605752387249067e-16,5.332050807568877); \coordinate[label=right:$P78$] (P78) at (2.686140661634507,3.2038565043033715); \coordinate[label=right:$P79$] (P79) at (1.7287135538781693,3.492531638898183); \coordinate[label=right:$P82$] (P82) at (1.7287135538781697,2.915181369708557); \coordinate[label=right:$P83$] (P83) at (0.5000000000000006,1.9416876048223006); \coordinate[label=right:$P84$] (P84) at (0.2712864461218312,2.9151813697085562); \coordinate[label=right:$P86$] (P86) at (0.7287135538781696,2.9151813697085562); \coordinate[label=right:$P88$] (P88) at (-1.686140661634507,3.2038565043033684); \coordinate[label=right:$P90$] (P90) at (-0.728713553878168,2.9151813697085567); \coordinate[label=right:$P91$] (P91) at (-0.7287135538781677,3.4925316388981815); \coordinate[label=right:$P93$] (P93) at (-1.6861406616345076,5.728194303265507); \coordinate[label=right:$P95$] (P95) at (-1.457427107756338,4.754700538379251); \coordinate[label=right:$P96$] (P96) at (-0.9574271077563378,5.043375672974063); \coordinate[label=right:$P97$] (P97) at (-0.7287135538781699,6.0168694378603185); \coordinate[label=right:$P98$] (P98) at (0.49999999999999944,6.990363202746575); \coordinate[label=right:$P99$] (P99) at (0.7287135538781686,6.016869437860319); \coordinate[label=right:$P100$] (P100) at (-0.22871355387816877,6.3055445724551324); \coordinate[label=right:$P101$] (P101) at (0.27128644612183106,6.016869437860321); \coordinate[label=right:$P102$] (P102) at (1.2287135538781695,6.3055445724551324); \coordinate[label=right:$P103$] (P103) at (2.6861406616345067,5.728194303265508); \coordinate[label=right:$P104$] (P104) at (1.9574271077563372,5.043375672974064); \coordinate[label=right:$P105$] (P105) at (1.7287135538781693,6.016869437860321); \coordinate[label=right:$P107$] (P107) at (2.4574271077563377,4.754700538379251); \sourceoff (hier steht bei der Vorschau "Der Code ist zu lang, bitte aufteilen oder kürzen") \sourceon TikZ \draw (P1) -- (P3) (P1) -- (P51) (P1) -- (P54) (P1) -- (P55) (P1) -- (P4) (P1) -- (P86) (P1) -- (P90) (P1) -- (P2) (P1) -- (P5) (P1) -- (P6) (P1) -- (P7) (P1) -- (P52) (P2) -- (P7) (P2) -- (P31) (P2) -- (P34) (P2) -- (P35) (P2) -- (P3) (P2) -- (P32) (P2) -- (P84) (P2) -- (P39) (P2) -- (P82) (P2) -- (P38) (P2) -- (P42) (P3) -- (P26) (P3) -- (P29) (P3) -- (P30) (P3) -- (P4) (P3) -- (P27) (P3) -- (P73) (P3) -- (P74) (P3) -- (P39) (P3) -- (P56) (P3) -- (P60) (P4) -- (P21) (P4) -- (P24) (P4) -- (P25) (P4) -- (P5) (P4) -- (P22) (P4) -- (P74) (P4) -- (P91) (P4) -- (P95) (P5) -- (P16) (P5) -- (P19) (P5) -- (P20) (P5) -- (P6) (P5) -- (P17) (P6) -- (P11) (P6) -- (P14) (P6) -- (P15) (P6) -- (P7) (P6) -- (P12) (P7) -- (P9) (P7) -- (P10) (P7) -- (P36) (P7) -- (P37) (P7) -- (P49) (P7) -- (P42) (P7) -- (P47) (P8) -- (P9) (P8) -- (P11) (P8) -- (P12) (P8) -- (P10) (P8) -- (P43) (P8) -- (P83) (P9) -- (P10) (P9) -- (P48) (P9) -- (P49) (P9) -- (P15) (P9) -- (P44) (P9) -- (P84) (P9) -- (P90) (P10) -- (P34) (P10) -- (P45) (P11) -- (P12) (P11) -- (P37) (P11) -- (P86) (P12) -- (P16) (P12) -- (P47) (P12) -- (P51) (P13) -- (P14) (P13) -- (P16) (P13) -- (P17) (P13) -- (P15) (P13) -- (P48) (P13) -- (P88) (P14) -- (P15) (P14) -- (P20) (P14) -- (P49) (P14) -- (P55) (P15) -- (P90) (P16) -- (P17) (P16) -- (P51) (P16) -- (P91) (P17) -- (P21) (P17) -- (P52) (P18) -- (P19) (P18) -- (P21) (P18) -- (P22) (P18) -- (P20) (P18) -- (P53) (P18) -- (P93) (P19) -- (P20) (P19) -- (P25) (P19) -- (P54) (P20) -- (P55) (P20) -- (P95) (P21) -- (P22) (P21) -- (P88) (P21) -- (P91) (P21) -- (P52) (P21) -- (P56) (P21) -- (P96) (P22) -- (P26) (P22) -- (P97) (P23) -- (P24) (P23) -- (P26) (P23) -- (P27) (P23) -- (P25) (P23) -- (P58) (P23) -- (P98) (P24) -- (P25) (P24) -- (P30) (P24) -- (P99) (P25) -- (P93) (P25) -- (P95) (P25) -- (P54) (P25) -- (P60) (P25) -- (P100) (P26) -- (P27) (P26) -- (P53) (P26) -- (P56) (P26) -- (P61) (P26) -- (P97) (P26) -- (P101) (P27) -- (P31) (P27) -- (P62) (P27) -- (P102) (P28) -- (P29) (P28) -- (P31) (P28) -- (P32) (P28) -- (P30) (P28) -- (P63) (P28) -- (P103) (P29) -- (P30) (P29) -- (P35) (P29) -- (P64) (P29) -- (P104) (P30) -- (P58) (P30) -- (P60) (P30) -- (P65) (P30) -- (P99) (P30) -- (P105) (P31) -- (P32) (P31) -- (P62) (P31) -- (P66) (P32) -- (P78) (P32) -- (P82) (P32) -- (P36) (P32) -- (P67) (P32) -- (P71) (P32) -- (P107) (P33) -- (P34) (P33) -- (P36) (P33) -- (P37) (P33) -- (P35) (P33) -- (P68) (P33) -- (P78) (P34) -- (P35) (P34) -- (P83) (P34) -- (P84) (P34) -- (P45) (P34) -- (P69) (P34) -- (P79) (P35) -- (P64) (P35) -- (P70) (P36) -- (P37) (P36) -- (P71) (P37) -- (P43) (P37) -- (P47) (P37) -- (P72) (P37) -- (P82) (P37) -- (P86) (P38) -- (P42) (P38) -- (P66) (P38) -- (P69) (P38) -- (P70) (P38) -- (P39) (P38) -- (P67) (P39) -- (P61) (P39) -- (P64) (P39) -- (P65) (P39) -- (P62) (P39) -- (P73) (P39) -- (P79) (P39) -- (P107) (P42) -- (P44) (P42) -- (P45) (P42) -- (P71) (P42) -- (P72) (P43) -- (P44) (P43) -- (P47) (P43) -- (P45) (P43) -- (P83) (P44) -- (P45) (P44) -- (P84) (P45) -- (P69) (P47) -- (P51) (P48) -- (P49) (P48) -- (P51) (P48) -- (P52) (P48) -- (P88) (P49) -- (P55) (P51) -- (P52) (P51) -- (P83) (P51) -- (P86) (P51) -- (P91) (P52) -- (P56) (P53) -- (P54) (P53) -- (P56) (P53) -- (P55) (P53) -- (P93) (P54) -- (P55) (P54) -- (P60) (P55) -- (P88) (P55) -- (P90) (P55) -- (P95) (P56) -- (P96) (P58) -- (P61) (P58) -- (P62) (P58) -- (P60) (P58) -- (P98) (P60) -- (P100) (P61) -- (P62) (P61) -- (P101) (P62) -- (P103) (P62) -- (P107) (P62) -- (P66) (P62) -- (P102) (P63) -- (P64) (P63) -- (P66) (P63) -- (P67) (P63) -- (P65) (P63) -- (P103) (P64) -- (P65) (P64) -- (P78) (P64) -- (P79) (P64) -- (P70) (P64) -- (P104) (P65) -- (P105) (P66) -- (P67) (P67) -- (P71) (P67) -- (P107) (P68) -- (P69) (P68) -- (P71) (P68) -- (P72) (P68) -- (P70) (P68) -- (P78) (P69) -- (P70) (P69) -- (P79) (P71) -- (P72) (P72) -- (P82) (P73) -- (P101) (P73) -- (P104) (P73) -- (P105) (P73) -- (P74) (P73) -- (P102) (P74) -- (P96) (P74) -- (P99) (P74) -- (P100) (P74) -- (P97) (P78) -- (P79) (P78) -- (P82) (P82) -- (P86) (P83) -- (P84) (P83) -- (P86) (P84) -- (P90) (P88) -- (P91) (P88) -- (P90) (P93) -- (P96) (P93) -- (P97) (P93) -- (P95) (P96) -- (P97) (P97) -- (P101) (P98) -- (P99) (P98) -- (P101) (P98) -- (P102) (P98) -- (P100) (P99) -- (P100) (P99) -- (P105) (P101) -- (P102) (P103) -- (P104) (P103) -- (P107) (P103) -- (P105) (P104) -- (P105) ; \end{tikzpicture} \sourceoff erscheint Fehler [Unparseable or potentially dangerous latex formula. Error 1 ]


   Profil
Ex_Senior
  Beitrag No.6, eingetragen 2018-08-25

$ \begin{tikzpicture}[scale=1, font=\tiny] \coordinate[label=right:$P1$] (P-1) at (0,3.6); \coordinate[label=right:$P2$] (P-2) at (1,3.6); \coordinate[label=right:$P3$] (P-3) at (0.5,4.466025403784439); \coordinate[label=right:$P4$] (P-4) at (-0.49999999999999983,4.466025403784439); \coordinate[label=right:$P5$] (P-5) at (-0.9999999999999997,3.6); \coordinate[label=right:$P6$] (P-6) at (-0.49999999999999983,2.7339745962155617); \coordinate[label=right:$P7$] (P-7) at (0.49999999999999994,2.733974596215562); \coordinate[label=right:$P8$] (P-8) at (1.4921397450962103e-15,1.075662201037862); \coordinate[label=right:$P9$] (P-9) at (-0.22871355387816833,2.0491559659241183); \coordinate[label=right:$P10$] (P-10) at (0.72871355387817,1.7604808313293063); \coordinate[label=right:$P11$] (P-11) at (0.22871355387816997,2.0491559659241187); \coordinate[label=right:$P12$] (P-12) at (-0.7287135538781675,1.7604808313293046); \coordinate[label=right:$P13$] (P-13) at (-2.1861406616345063,2.33783110051893); \coordinate[label=right:$P14$] (P-14) at (-1.4574271077563379,3.022649730810374); \coordinate[label=right:$P15$] (P-15) at (-1.2287135538781684,2.0491559659241183); \coordinate[label=right:$P16$] (P-16) at (-1.2287135538781682,2.626506235113743); \coordinate[label=right:$P17$] (P-17) at (-1.9574271077563374,3.3113248654051857); \coordinate[label=right:$P18$] (P-18) at (-2.186140661634507,4.862168899481069); \coordinate[label=right:$P19$] (P-19) at (-1.2287135538781688,4.573493764886257); \coordinate[label=right:$P20$] (P-20) at (-1.9574271077563372,3.888675134594812); \coordinate[label=right:$P21$] (P-21) at (-1.4574271077563379,4.177350269189624); \coordinate[label=right:$P22$] (P-22) at (-1.2287135538781697,5.150844034075881); \coordinate[label=right:$P23$] (P-23) at (-7.105427357601002e-16,6.124337798962139); \coordinate[label=right:$P24$] (P-24) at (0.22871355387816902,5.150844034075883); \coordinate[label=right:$P25$] (P-25) at (-0.7287135538781696,5.439519168670695); \coordinate[label=right:$P26$] (P-26) at (-0.22871355387816947,5.150844034075882); \coordinate[label=right:$P27$] (P-27) at (0.728713553878168,5.439519168670695); \coordinate[label=right:$P28$] (P-28) at (2.1861406616345067,4.86216889948107); \coordinate[label=right:$P29$] (P-29) at (1.4574271077563379,4.177350269189626); \coordinate[label=right:$P30$] (P-30) at (1.2287135538781682,5.150844034075882); \coordinate[label=right:$P31$] (P-31) at (1.2287135538781684,4.573493764886257); \coordinate[label=right:$P32$] (P-32) at (1.9574271077563379,3.888675134594814); \coordinate[label=right:$P33$] (P-33) at (2.186140661634507,2.337831100518932); \coordinate[label=right:$P34$] (P-34) at (1.2287135538781688,2.626506235113744); \coordinate[label=right:$P35$] (P-35) at (1.9574271077563379,3.3113248654051883); \coordinate[label=right:$P36$] (P-36) at (1.4574271077563379,3.0226497308103752); \coordinate[label=right:$P37$] (P-37) at (1.2287135538781695,2.049155965924119); \coordinate[label=right:$P38$] (P-38) at (1.9999999999999998,3.6); \coordinate[label=right:$P39$] (P-39) at (1.4999999999999998,4.466025403784439); \coordinate[label=right:$P42$] (P-42) at (1.4999999999999998,2.7339745962155626); \coordinate[label=right:$P43$] (P-43) at (1.0000000000000013,1.0756622010378611); \coordinate[label=right:$P44$] (P-44) at (0.7712864461218314,2.049155965924118); \coordinate[label=right:$P45$] (P-45) at (1.7287135538781693,1.760480831329306); \coordinate[label=right:$P47$] (P-47) at (0.271286446121832,1.7604808313293048); \coordinate[label=right:$P48$] (P-48) at (-1.1861406616345065,2.33783110051893); \coordinate[label=right:$P49$] (P-49) at (-0.45742710775633805,3.022649730810374); \coordinate[label=right:$P51$] (P-51) at (-0.22871355387816844,2.6265062351137427); \coordinate[label=right:$P52$] (P-52) at (-0.9574271077563378,3.3113248654051857); \coordinate[label=right:$P53$] (P-53) at (-1.1861406616345078,4.862168899481069); \coordinate[label=right:$P54$] (P-54) at (-0.22871355387816927,4.573493764886257); \coordinate[label=right:$P55$] (P-55) at (-0.9574271077563375,3.8886751345948123); \coordinate[label=right:$P56$] (P-56) at (-0.45742710775633827,4.177350269189624); \coordinate[label=right:$P58$] (P-58) at (0.9999999999999993,6.124337798962139); \coordinate[label=right:$P60$] (P-60) at (0.27128644612183067,5.439519168670694); \coordinate[label=right:$P61$] (P-61) at (0.7712864461218304,5.150844034075882); \coordinate[label=right:$P62$] (P-62) at (1.7287135538781682,5.439519168670696); \coordinate[label=right:$P63$] (P-63) at (3.1861406616345063,4.86216889948107); \coordinate[label=right:$P64$] (P-64) at (2.4574271077563377,4.177350269189625); \coordinate[label=right:$P65$] (P-65) at (2.228713553878168,5.150844034075883); \coordinate[label=right:$P66$] (P-66) at (2.228713553878168,4.573493764886255); \coordinate[label=right:$P67$] (P-67) at (2.9574271077563377,3.888675134594812); \coordinate[label=right:$P68$] (P-68) at (3.1861406616345067,2.3378311005189305); \coordinate[label=right:$P69$] (P-69) at (2.2287135538781686,2.626506235113745); \coordinate[label=right:$P70$] (P-70) at (2.9574271077563377,3.3113248654051883); \coordinate[label=right:$P71$] (P-71) at (2.4574271077563377,3.022649730810376); \coordinate[label=right:$P72$] (P-72) at (2.228713553878169,2.049155965924119); \coordinate[label=right:$P73$] (P-73) at (1.0000000000000002,5.332050807568877); \coordinate[label=right:$P74$] (P-74) at (1.0605752387249067e-16,5.332050807568877); \coordinate[label=right:$P78$] (P-78) at (2.686140661634507,3.2038565043033715); \coordinate[label=right:$P79$] (P-79) at (1.7287135538781693,3.492531638898183); \coordinate[label=right:$P82$] (P-82) at (1.7287135538781697,2.915181369708557); \coordinate[label=right:$P83$] (P-83) at (0.5000000000000006,1.9416876048223006); \coordinate[label=right:$P84$] (P-84) at (0.2712864461218312,2.9151813697085562); \coordinate[label=right:$P86$] (P-86) at (0.7287135538781696,2.9151813697085562); \coordinate[label=right:$P88$] (P-88) at (-1.686140661634507,3.2038565043033684); \coordinate[label=right:$P90$] (P-90) at (-0.728713553878168,2.9151813697085567); \coordinate[label=right:$P91$] (P-91) at (-0.7287135538781677,3.4925316388981815); \coordinate[label=right:$P93$] (P-93) at (-1.6861406616345076,5.728194303265507); \coordinate[label=right:$P95$] (P-95) at (-1.457427107756338,4.754700538379251); \coordinate[label=right:$P96$] (P-96) at (-0.9574271077563378,5.043375672974063); \coordinate[label=right:$P97$] (P-97) at (-0.7287135538781699,6.0168694378603185); \coordinate[label=right:$P98$] (P-98) at (0.49999999999999944,6.990363202746575); \coordinate[label=right:$P99$] (P-99) at (0.7287135538781686,6.016869437860319); \coordinate[label=right:$P100$] (P-100) at (-0.22871355387816877,6.3055445724551324); \coordinate[label=right:$P101$] (P-101) at (0.27128644612183106,6.016869437860321); \coordinate[label=right:$P102$] (P-102) at (1.2287135538781695,6.3055445724551324); \coordinate[label=right:$P103$] (P-103) at (2.6861406616345067,5.728194303265508); \coordinate[label=right:$P104$] (P-104) at (1.9574271077563372,5.043375672974064); \coordinate[label=right:$P105$] (P-105) at (1.7287135538781693,6.016869437860321); \coordinate[label=right:$P107$] (P-107) at (2.4574271077563377,4.754700538379251); \foreach[] \n in {3,51,54,55,4,86,90,2,5,6,7,52} \draw[red, thick] (P-1) -- (P-\n); \end{tikzpicture} $ P1 soll mit P{3,51,54,55,4,86,90,2,5,6,7,52} verbunden werden. Das geht mit einer Schleife (s.o.). Wie setzen sich die Pfade zusammen? Besser und kürzer macht man das, wie gesagt, mit pgfplots; weil man dann eine Tabelle verwenden kann. PS: Alternativ (soweit sich hier 'ersetzen' ließ): $ \begin{tikzpicture}[scale=1, font=\tiny] \node[inner sep=0pt, outer sep=0pt,label=right:$P1$] (P-1) at (0,3.6) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P2$] (P-2) at (1,3.6) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P3$] (P-3) at (0.5,4.466025403784439) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P4$] (P-4) at (-0.49999999999999983,4.466025403784439) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P5$] (P-5) at (-0.9999999999999997,3.6) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P6$] (P-6) at (-0.49999999999999983,2.7339745962155617) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P7$] (P-7) at (0.49999999999999994,2.733974596215562) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P8$] (P-8) at (1.4921397450962103e-15,1.075662201037862) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P9$] (P-9) at (-0.22871355387816833,2.0491559659241183) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P10$] (P-10) at (0.72871355387817,1.7604808313293063) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P11$] (P-11) at (0.22871355387816997,2.0491559659241187) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P12$] (P-12) at (-0.7287135538781675,1.7604808313293046) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P13$] (P-13) at (-2.1861406616345063,2.33783110051893) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P14$] (P-14) at (-1.4574271077563379,3.022649730810374) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P15$] (P-15) at (-1.2287135538781684,2.0491559659241183) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P16$] (P-16) at (-1.2287135538781682,2.626506235113743) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P17$] (P-17) at (-1.9574271077563374,3.3113248654051857) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P18$] (P-18) at (-2.186140661634507,4.862168899481069) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P19$] (P-19) at (-1.2287135538781688,4.573493764886257) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P20$] (P-20) at (-1.9574271077563372,3.888675134594812) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P21$] (P-21) at (-1.4574271077563379,4.177350269189624) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P22$] (P-22) at (-1.2287135538781697,5.150844034075881) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P23$] (P-23) at (-7.105427357601002e-16,6.124337798962139) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P24$] (P-24) at (0.22871355387816902,5.150844034075883) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P25$] (P-25) at (-0.7287135538781696,5.439519168670695) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P26$] (P-26) at (-0.22871355387816947,5.150844034075882) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P27$] (P-27) at (0.728713553878168,5.439519168670695) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P28$] (P-28) at (2.1861406616345067,4.86216889948107) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P29$] (P-29) at (1.4574271077563379,4.177350269189626) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P30$] (P-30) at (1.2287135538781682,5.150844034075882) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P31$] (P-31) at (1.2287135538781684,4.573493764886257) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P32$] (P-32) at (1.9574271077563379,3.888675134594814) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P33$] (P-33) at (2.186140661634507,2.337831100518932) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P34$] (P-34) at (1.2287135538781688,2.626506235113744) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P35$] (P-35) at (1.9574271077563379,3.3113248654051883) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P36$] (P-36) at (1.4574271077563379,3.0226497308103752) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P37$] (P-37) at (1.2287135538781695,2.049155965924119) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P38$] (P-38) at (1.9999999999999998,3.6) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P39$] (P-39) at (1.4999999999999998,4.466025403784439) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P42$] (P-42) at (1.4999999999999998,2.7339745962155626) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P43$] (P-43) at (1.0000000000000013,1.0756622010378611) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P44$] (P-44) at (0.7712864461218314,2.049155965924118) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P45$] (P-45) at (1.7287135538781693,1.760480831329306) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P47$] (P-47) at (0.271286446121832,1.7604808313293048) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P48$] (P-48) at (-1.1861406616345065,2.33783110051893) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P49$] (P-49) at (-0.45742710775633805,3.022649730810374) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P51$] (P-51) at (-0.22871355387816844,2.6265062351137427) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P52$] (P-52) at (-0.9574271077563378,3.3113248654051857) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P53$] (P-53) at (-1.1861406616345078,4.862168899481069) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P54$] (P-54) at (-0.22871355387816927,4.573493764886257) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P55$] (P-55) at (-0.9574271077563375,3.8886751345948123) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P56$] (P-56) at (-0.45742710775633827,4.177350269189624) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P58$] (P-58) at (0.9999999999999993,6.124337798962139) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P60$] (P-60) at (0.27128644612183067,5.439519168670694) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P61$] (P-61) at (0.7712864461218304,5.150844034075882) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P62$] (P-62) at (1.7287135538781682,5.439519168670696) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P63$] (P-63) at (3.1861406616345063,4.86216889948107) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P64$] (P-64) at (2.4574271077563377,4.177350269189625) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P65$] (P-65) at (2.228713553878168,5.150844034075883) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P66$] (P-66) at (2.228713553878168,4.573493764886255) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P67$] (P-67) at (2.9574271077563377,3.888675134594812) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P68$] (P-68) at (3.1861406616345067,2.3378311005189305) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P69$] (P-69) at (2.2287135538781686,2.626506235113745) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P70$] (P-70) at (2.9574271077563377,3.3113248654051883) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P71$] (P-71) at (2.4574271077563377,3.022649730810376) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P72$] (P-72) at (2.228713553878169,2.049155965924119) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P73$] (P-73) at (1.0000000000000002,5.332050807568877) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P74$] (P-74) at (1.0605752387249067e-16,5.332050807568877) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P78$] (P-78) at (2.686140661634507,3.2038565043033715) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P79$] (P-79) at (1.7287135538781693,3.492531638898183) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P82$] (P-82) at (1.7287135538781697,2.915181369708557) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P83$] (P-83) at (0.5000000000000006,1.9416876048223006) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P84$] (P-84) at (0.2712864461218312,2.9151813697085562) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P86$] (P-86) at (0.7287135538781696,2.9151813697085562) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P88$] (P-88) at (-1.686140661634507,3.2038565043033684) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P90$] (P-90) at (-0.728713553878168,2.9151813697085567) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P91$] (P-91) at (-0.7287135538781677,3.4925316388981815) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P93$] (P-93) at (-1.6861406616345076,5.728194303265507) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P95$] (P-95) at (-1.457427107756338,4.754700538379251) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P96$] (P-96) at (-0.9574271077563378,5.043375672974063) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P97$] (P-97) at (-0.7287135538781699,6.0168694378603185) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P98$] (P-98) at (0.49999999999999944,6.990363202746575) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P99$] (P-99) at (0.7287135538781686,6.016869437860319) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P100$] (P-100) at (-0.22871355387816877,6.3055445724551324) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P101$] (P-101) at (0.27128644612183106,6.016869437860321) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P102$] (P-102) at (1.2287135538781695,6.3055445724551324) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P103$] (P-103) at (2.6861406616345067,5.728194303265508) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P104$] (P-104) at (1.9574271077563372,5.043375672974064) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P105$] (P-105) at (1.7287135538781693,6.016869437860321) {$\bullet$}; \node[inner sep=0pt, outer sep=0pt,label=right:$P107$] (P-107) at (2.4574271077563377,4.754700538379251) {$\bullet$}; \foreach[] \n in {3,51,54,55,4,86,90,2,5,6,7,52} \draw[red, thick] (P-1) -- (P-\n); \end{tikzpicture} $ Ich würde sowas niemals Brute-Force zeichnen, d.h. viele Koordinaten im Code. Idealerweise hat man die Koordinaten in der Form \sourceon N x y 1 2.4574271077563377 4.754700538379251 2 1.3333371077563377 7.555500538379251 ... ... ... \sourceoff (auch die Nummerierung ist unnötig, dient aber ggf. der Übersicht) und diese verarbeitet man jetzt mit pgfplots.


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.7, vom Themenstarter, eingetragen 2018-08-26

Natürlich muss alles auch gut erkennbar und lesbar sein, und das macht der fed schon ganz ordentlich. \geo ebene(423.99,568.87) x(7.92,14.05) y(8.17,16.39) form(.) #//Eingabe war: # #Fast 4/4 mit 102 # # # # # # # #P[23]=[143.6262666913732,-126.52056982151382]; #P[25]=[74.37858394167262,-126.4327594769251]; D=ab(23,25); A(25,23); #N(24,25,23); N(26,25,24); N(27,25,26); N(28,27,26); N(29,27,28); #M(31,29,27,blue_angle); N(30,31,29); N(32,31,30); N(33,31,32); #M(35,33,31,green_angle); N(34,35,33); N(36,35,34); N(37,35,36); N(38,37,36); #N(5,37,38); M(4,5,37,orange_angle); N(2,5,4); N(3,2,4); N(1,2,3); #M(7,1,2,fourth_angle); N(6,7,1); N(8,7,6); N(9,7,8); N(10,9,8); N(11,9,10); #M(13,11,9,fifth_angle); N(12,13,11); N(14,13,12); N(15,13,14); #Q(19,15,23,2*D,2*D); A(19,15); A(19,23); H(21,23,19,2); A(21,23); N(22,23,21); #H(17,15,19,2); A(17,15); N(16,17,15); A(17,19); N(18,19,17); A(18,16); #A(21,19); N(20,21,19); A(22,20); N(39,32,30); N(40,4,38); N(41,39,28); #N(42,41,24); N(43,40,34); N(45,6,3); Q(47,10,45,jam(1.0010959617475572)*D,D); #N(48,22,20); N(49,14,12); Q(50,48,16,D,jam(1.0069607843774724)*D); N(44,41,42); #N(46,47,45); N(51,48,50); #A(43,39); R(43,39,"green",jam(1.0116458055162656)*D); #A(49,47); R(49,47,"green",jam(0.9975713542132087)*D); #A(50,18); R(50,18,"green",jam(1.0035590788148676)*D); #A(44,43); R(44,43,"green",jam(1.0052738119187066)*D); #A(46,40); R(46,40,"green",jam(1.001278636236494)*D); #A(46,44); R(46,44,"green",jam(1.0156776327028696)*D); #A(51,42); R(51,42,"green",jam(0.9805463265412891)*D); #A(51,49); R(51,49,"green",jam(1.0285685555581083)*D); # # # # # # # # # # # # # # # # # # # # #//Ende der Eingabe, weiter mit fedgeo: p(9.534193435641209,14.005179716980354,P1) p(8.72857654662786,13.41274286115819,P2) p(9.644450358414709,13.011276597465924,P3) p(8.83883346940136,12.418839741643758,P4) p(7.922959657614511,12.820306005336024,P5) p(9.794971732580391,13.039781001502911,P6) p(10.500642396495131,13.748320989146608,P7) p(10.761420693434314,12.782922273669163,P8) p(11.467091357349055,13.491462261312858,P9) p(11.727869654288238,12.526063545835415,P10) p(12.433540318202978,13.23460353347911,P11) p(12.070729769007333,12.302740611482342,P12) p(13.059152006899152,12.454468920116312,P13) p(12.696341457703507,11.522605998119545,P14) p(13.684763695595327,11.674334306753515,P15) p(12.750060397312463,11.318905348761716,P16) p(13.525222553315427,10.687143026443552,P17) p(12.590519255032563,10.331714068451753,P18) p(13.365681411035526,9.69995174613359,P19) p(12.381563905395486,9.877470013060764,P20) p(12.719887329420786,8.936440119403928,P21) p(11.735769823780746,9.113958386331102,P22) p(12.074093247806045,8.172928492674266,P23) p(11.575191822692185,9.039587230597883,P24) p(11.074094051795502,8.174196553503212,P25) p(10.575192626681641,9.040855291426828,P26) p(10.074094855784958,8.175464614332157,P27) p(9.575193430671098,9.042123352255775,P28) p(9.074095659774414,8.176732675161102,P29) p(9.500903870137861,9.081074840254796,P30) p(8.504316476271576,8.998530510426466,P31) p(8.931124686635025,9.902872675520161,P32) p(7.93453729276874,9.820328345691832,P33) p(8.798626641588921,10.323666797685634,P34) p(7.930678081050663,10.820320898906562,P35) p(8.794767429870845,11.323659350900364,P36) p(7.926818869332587,11.820313452121294,P37) p(8.790908218152767,12.323651904115096,P38) p(9.927712080501308,9.985417005348491,P39) p(9.706782029939617,11.922185640422832,P40) p(10.560776153869858,9.211317606685748,P41) p(11.211119574203211,9.970957939757337,P42) p(9.595015964488717,10.92845109507703,P43) p(10.228080037857266,10.154351696414288,P44) p(9.905228655353893,12.045877881988481,P45) p(10.331339901310542,11.14120710979051,P46) p(10.901752149116945,11.962565659726193,P47) p(11.397446399755447,10.05498827998794,P48) p(11.707919219811686,11.370877689485575,P49) p(11.815357099029603,10.963476390769905,P50) p(10.819627966419212,10.87115361746366,P51) nolabel() s(P2,P1) s(P3,P1) s(P5,P2) s(P4,P2) s(P2,P3) s(P4,P3) s(P5,P4) s(P37,P5) s(P38,P5) s(P7,P6) s(P1,P6) s(P1,P7) s(P7,P8) s(P6,P8) s(P7,P9) s(P8,P9) s(P9,P10) s(P8,P10) s(P9,P11) s(P10,P11) s(P13,P12) s(P11,P12) s(P11,P13) s(P13,P14) s(P12,P14) s(P13,P15) s(P14,P15) s(P17,P16) s(P15,P16) s(P15,P17) s(P19,P17) s(P19,P18) s(P17,P18) s(P16,P18) s(P21,P20) s(P19,P20) s(P23,P21) s(P19,P21) s(P23,P22) s(P21,P22) s(P20,P22) s(P25,P24) s(P23,P24) s(P23,P25) s(P25,P26) s(P24,P26) s(P25,P27) s(P26,P27) s(P27,P28) s(P26,P28) s(P27,P29) s(P28,P29) s(P31,P30) s(P29,P30) s(P29,P31) s(P31,P32) s(P30,P32) s(P31,P33) s(P32,P33) s(P35,P34) s(P33,P34) s(P33,P35) s(P35,P36) s(P34,P36) s(P35,P37) s(P36,P37) s(P37,P38) s(P36,P38) s(P32,P39) s(P30,P39) s(P4,P40) s(P38,P40) s(P39,P41) s(P28,P41) s(P41,P42) s(P24,P42) s(P40,P43) s(P34,P43) s(P39,P43) s(P41,P44) s(P42,P44) s(P43,P44) s(P6,P45) s(P3,P45) s(P47,P46) s(P45,P46) s(P40,P46) s(P44,P46) s(P10,P47) s(P45,P47) s(P22,P48) s(P20,P48) s(P14,P49) s(P12,P49) s(P47,P49) s(P48,P50) s(P16,P50) s(P18,P50) s(P48,P51) s(P50,P51) s(P42,P51) s(P49,P51) pen(2) color(#0000FF) m(P27,P29,MA10) m(P29,P31,MB10) b(P29,MA10,MB10) color(#008000) m(P31,P33,MA11) m(P33,P35,MB11) b(P33,MA11,MB11) color(#FFA500) m(P37,P5,MA12) m(P5,P4,MB12) b(P5,MA12,MB12) color(#EE82EE) m(P2,P1,MA13) m(P1,P7,MB13) b(P1,MA13,MB13) color(#00FFFF) m(P9,P11,MA14) m(P11,P13,MB14) b(P11,MA14,MB14) pen(2) color(black) s(P43,P39) abstand(P43,P39,A18) print(abs(P43,P39):,7.92,16.388) print(A18,8.86,16.388) color(black) s(P49,P47) abstand(P49,P47,A18) print(abs(P49,P47):,7.92,16.171) print(A18,8.86,16.171) color(black) s(P50,P18) abstand(P50,P18,A18) print(abs(P50,P18):,7.92,15.955) print(A18,8.86,15.955) color(black) s(P44,P43) abstand(P44,P43,A18) print(abs(P44,P43):,7.92,15.738) print(A18,8.86,15.738) color(black) s(P46,P40) abstand(P46,P40,A18) print(abs(P46,P40):,7.92,15.521) print(A18,8.86,15.521) color(red) s(P46,P44) abstand(P46,P44,A18) print(abs(P46,P44):,7.92,15.305) print(A18,8.86,15.305) color(red) s(P51,P42) abstand(P51,P42,A18) print(abs(P51,P42):,7.92,15.088) print(A18,8.86,15.088) color(red) s(P51,P49) abstand(P51,P49,A18) print(abs(P51,P49):,7.92,14.872) print(A18,8.86,14.872) print(min=0.9816404316889402,7.92,14.655) print(max=1.0192082706747116,7.92,14.438) \geooff \geoprint()


   Profil
StefanVogel
Senior Letzter Besuch: in der letzten Woche
Dabei seit: 26.11.2005
Mitteilungen: 3969
Wohnort: Raun
  Beitrag No.8, eingetragen 2018-08-26

Hallo cis, danke, die Schleifen gehen besser. $ \begin{tikzpicture}[scale=1] \coordinate[label=right:$P1$] (P-1) at (0.00,3.60); \coordinate[label=right:$P2$] (P-2) at (1.00,3.60); \coordinate[label=right:$P3$] (P-3) at (0.50,4.47); \coordinate[label=right:$P4$] (P-4) at (-0.50,4.47); \coordinate[label=right:$P5$] (P-5) at (-1.00,3.60); \coordinate[label=right:$P6$] (P-6) at (-0.50,2.73); \coordinate[label=right:$P7$] (P-7) at (0.50,2.73); \coordinate[label=right:$P8$] (P-8) at (0.00,1.08); \coordinate[label=right:$P9$] (P-9) at (-0.23,2.05); \coordinate[label=right:$P10$] (P-10) at (0.73,1.76); \coordinate[label=right:$P11$] (P-11) at (0.23,2.05); \coordinate[label=right:$P12$] (P-12) at (-0.73,1.76); \coordinate[label=right:$P13$] (P-13) at (-2.19,2.34); \coordinate[label=right:$P14$] (P-14) at (-1.46,3.02); \coordinate[label=right:$P15$] (P-15) at (-1.23,2.05); \coordinate[label=right:$P16$] (P-16) at (-1.23,2.63); \coordinate[label=right:$P17$] (P-17) at (-1.96,3.31); \coordinate[label=right:$P18$] (P-18) at (-2.19,4.86); \coordinate[label=right:$P19$] (P-19) at (-1.23,4.57); \coordinate[label=right:$P20$] (P-20) at (-1.96,3.89); \coordinate[label=right:$P21$] (P-21) at (-1.46,4.18); \coordinate[label=right:$P22$] (P-22) at (-1.23,5.15); \coordinate[label=right:$P23$] (P-23) at (-0.00,6.12); \coordinate[label=right:$P24$] (P-24) at (0.23,5.15); \coordinate[label=right:$P25$] (P-25) at (-0.73,5.44); \coordinate[label=right:$P26$] (P-26) at (-0.23,5.15); \coordinate[label=right:$P27$] (P-27) at (0.73,5.44); \coordinate[label=right:$P28$] (P-28) at (2.19,4.86); \coordinate[label=right:$P29$] (P-29) at (1.46,4.18); \coordinate[label=right:$P30$] (P-30) at (1.23,5.15); \coordinate[label=right:$P31$] (P-31) at (1.23,4.57); \coordinate[label=right:$P32$] (P-32) at (1.96,3.89); \coordinate[label=right:$P33$] (P-33) at (2.19,2.34); \coordinate[label=right:$P34$] (P-34) at (1.23,2.63); \coordinate[label=right:$P35$] (P-35) at (1.96,3.31); \coordinate[label=right:$P36$] (P-36) at (1.46,3.02); \coordinate[label=right:$P37$] (P-37) at (1.23,2.05); \coordinate[label=right:$P38$] (P-38) at (2.00,3.60); \coordinate[label=right:$P39$] (P-39) at (1.50,4.47); \coordinate[label=right:$P42$] (P-42) at (1.50,2.73); \coordinate[label=right:$P43$] (P-43) at (1.00,1.08); \coordinate[label=right:$P44$] (P-44) at (0.77,2.05); \coordinate[label=right:$P45$] (P-45) at (1.73,1.76); \coordinate[label=right:$P47$] (P-47) at (0.27,1.76); \coordinate[label=right:$P48$] (P-48) at (-1.19,2.34); \coordinate[label=right:$P49$] (P-49) at (-0.46,3.02); \coordinate[label=right:$P51$] (P-51) at (-0.23,2.63); \coordinate[label=right:$P52$] (P-52) at (-0.96,3.31); \coordinate[label=right:$P53$] (P-53) at (-1.19,4.86); \coordinate[label=right:$P54$] (P-54) at (-0.23,4.57); \coordinate[label=right:$P55$] (P-55) at (-0.96,3.89); \coordinate[label=right:$P56$] (P-56) at (-0.46,4.18); \coordinate[label=right:$P58$] (P-58) at (1.00,6.12); \coordinate[label=right:$P60$] (P-60) at (0.27,5.44); \coordinate[label=right:$P61$] (P-61) at (0.77,5.15); \coordinate[label=right:$P62$] (P-62) at (1.73,5.44); \coordinate[label=right:$P63$] (P-63) at (3.19,4.86); \coordinate[label=right:$P64$] (P-64) at (2.46,4.18); \coordinate[label=right:$P65$] (P-65) at (2.23,5.15); \coordinate[label=right:$P66$] (P-66) at (2.23,4.57); \coordinate[label=right:$P67$] (P-67) at (2.96,3.89); \coordinate[label=right:$P68$] (P-68) at (3.19,2.34); \coordinate[label=right:$P69$] (P-69) at (2.23,2.63); \coordinate[label=right:$P70$] (P-70) at (2.96,3.31); \coordinate[label=right:$P71$] (P-71) at (2.46,3.02); \coordinate[label=right:$P72$] (P-72) at (2.23,2.05); \coordinate[label=right:$P73$] (P-73) at (1.00,5.33); \coordinate[label=right:$P74$] (P-74) at (0.00,5.33); \coordinate[label=right:$P78$] (P-78) at (2.69,3.20); \coordinate[label=right:$P79$] (P-79) at (1.73,3.49); \coordinate[label=right:$P82$] (P-82) at (1.73,2.92); \coordinate[label=right:$P83$] (P-83) at (0.50,1.94); \coordinate[label=right:$P84$] (P-84) at (0.27,2.92); \coordinate[label=right:$P86$] (P-86) at (0.73,2.92); \coordinate[label=right:$P88$] (P-88) at (-1.69,3.20); \coordinate[label=right:$P90$] (P-90) at (-0.73,2.92); \coordinate[label=right:$P91$] (P-91) at (-0.73,3.49); \coordinate[label=right:$P93$] (P-93) at (-1.69,5.73); \coordinate[label=right:$P95$] (P-95) at (-1.46,4.75); \coordinate[label=right:$P96$] (P-96) at (-0.96,5.04); \coordinate[label=right:$P97$] (P-97) at (-0.73,6.02); \coordinate[label=right:$P98$] (P-98) at (0.50,6.99); \coordinate[label=right:$P99$] (P-99) at (0.73,6.02); \coordinate[label=right:$P100$] (P-100) at (-0.23,6.31); \coordinate[label=right:$P101$] (P-101) at (0.27,6.02); \coordinate[label=right:$P102$] (P-102) at (1.23,6.31); \coordinate[label=right:$P103$] (P-103) at (2.69,5.73); \coordinate[label=right:$P104$] (P-104) at (1.96,5.04); \coordinate[label=right:$P105$] (P-105) at (1.73,6.02); \coordinate[label=right:$P107$] (P-107) at (2.46,4.75); \foreach[] \n in {} \draw (P-0) -- (P-\n); \foreach[] \n in {3,51,54,55,4,86,90,2,5,6,7,52} \draw (P-1) -- (P-\n); \foreach[] \n in {7,31,34,35,3,32,84,39,82,38,42} \draw (P-2) -- (P-\n); \foreach[] \n in {26,29,30,4,27,73,74,39,56,60} \draw (P-3) -- (P-\n); \foreach[] \n in {21,24,25,5,22,74,91,95} \draw (P-4) -- (P-\n); \foreach[] \n in {16,19,20,6,17} \draw (P-5) -- (P-\n); \foreach[] \n in {11,14,15,7,12} \draw (P-6) -- (P-\n); \foreach[] \n in {9,10,36,37,49,42,47} \draw (P-7) -- (P-\n); \foreach[] \n in {9,11,12,10,43,83} \draw (P-8) -- (P-\n); \foreach[] \n in {10,48,49,15,44,84,90} \draw (P-9) -- (P-\n); \foreach[] \n in {34,45} \draw (P-10) -- (P-\n); \foreach[] \n in {12,37,86} \draw (P-11) -- (P-\n); \foreach[] \n in {16,47,51} \draw (P-12) -- (P-\n); \foreach[] \n in {14,16,17,15,48,88} \draw (P-13) -- (P-\n); \foreach[] \n in {15,20,49,55} \draw (P-14) -- (P-\n); \foreach[] \n in {90} \draw (P-15) -- (P-\n); \foreach[] \n in {17,51,91} \draw (P-16) -- (P-\n); \foreach[] \n in {21,52} \draw (P-17) -- (P-\n); \foreach[] \n in {19,21,22,20,53,93} \draw (P-18) -- (P-\n); \foreach[] \n in {20,25,54} \draw (P-19) -- (P-\n); \foreach[] \n in {55,95} \draw (P-20) -- (P-\n); \foreach[] \n in {22,88,91,52,56,96} \draw (P-21) -- (P-\n); \foreach[] \n in {26,97} \draw (P-22) -- (P-\n); \foreach[] \n in {24,26,27,25,58,98} \draw (P-23) -- (P-\n); \foreach[] \n in {25,30,99} \draw (P-24) -- (P-\n); \foreach[] \n in {93,95,54,60,100} \draw (P-25) -- (P-\n); \foreach[] \n in {27,53,56,61,97,101} \draw (P-26) -- (P-\n); \foreach[] \n in {31,62,102} \draw (P-27) -- (P-\n); \foreach[] \n in {29,31,32,30,63,103} \draw (P-28) -- (P-\n); \foreach[] \n in {30,35,64,104} \draw (P-29) -- (P-\n); \foreach[] \n in {58,60,65,99,105} \draw (P-30) -- (P-\n); \foreach[] \n in {32,62,66} \draw (P-31) -- (P-\n); \foreach[] \n in {78,82,36,67,71,107} \draw (P-32) -- (P-\n); \foreach[] \n in {34,36,37,35,68,78} \draw (P-33) -- (P-\n); \foreach[] \n in {35,83,84,45,69,79} \draw (P-34) -- (P-\n); \foreach[] \n in {64,70} \draw (P-35) -- (P-\n); \foreach[] \n in {37,71} \draw (P-36) -- (P-\n); \foreach[] \n in {43,47,72,82,86} \draw (P-37) -- (P-\n); \foreach[] \n in {42,66,69,70,39,67} \draw (P-38) -- (P-\n); \foreach[] \n in {61,64,65,62,73,79,107} \draw (P-39) -- (P-\n); \foreach[] \n in {} \draw (P-40) -- (P-\n); \foreach[] \n in {} \draw (P-41) -- (P-\n); \foreach[] \n in {44,45,71,72} \draw (P-42) -- (P-\n); \foreach[] \n in {44,47,45,83} \draw (P-43) -- (P-\n); \foreach[] \n in {45,84} \draw (P-44) -- (P-\n); \foreach[] \n in {69} \draw (P-45) -- (P-\n); \foreach[] \n in {} \draw (P-46) -- (P-\n); \foreach[] \n in {51} \draw (P-47) -- (P-\n); \foreach[] \n in {49,51,52,88} \draw (P-48) -- (P-\n); \foreach[] \n in {55} \draw (P-49) -- (P-\n); \foreach[] \n in {} \draw (P-50) -- (P-\n); \foreach[] \n in {52,83,86,91} \draw (P-51) -- (P-\n); \foreach[] \n in {56} \draw (P-52) -- (P-\n); \foreach[] \n in {54,56,55,93} \draw (P-53) -- (P-\n); \foreach[] \n in {55,60} \draw (P-54) -- (P-\n); \foreach[] \n in {88,90,95} \draw (P-55) -- (P-\n); \foreach[] \n in {96} \draw (P-56) -- (P-\n); \foreach[] \n in {} \draw (P-57) -- (P-\n); \foreach[] \n in {61,62,60,98} \draw (P-58) -- (P-\n); \foreach[] \n in {} \draw (P-59) -- (P-\n); \foreach[] \n in {100} \draw (P-60) -- (P-\n); \foreach[] \n in {62,101} \draw (P-61) -- (P-\n); \foreach[] \n in {103,107,66,102} \draw (P-62) -- (P-\n); \foreach[] \n in {64,66,67,65,103} \draw (P-63) -- (P-\n); \foreach[] \n in {65,78,79,70,104} \draw (P-64) -- (P-\n); \foreach[] \n in {105} \draw (P-65) -- (P-\n); \foreach[] \n in {67} \draw (P-66) -- (P-\n); \foreach[] \n in {71,107} \draw (P-67) -- (P-\n); \foreach[] \n in {69,71,72,70,78} \draw (P-68) -- (P-\n); \foreach[] \n in {70,79} \draw (P-69) -- (P-\n); \foreach[] \n in {} \draw (P-70) -- (P-\n); \foreach[] \n in {72} \draw (P-71) -- (P-\n); \foreach[] \n in {82} \draw (P-72) -- (P-\n); \foreach[] \n in {101,104,105,74,102} \draw (P-73) -- (P-\n); \foreach[] \n in {96,99,100,97} \draw (P-74) -- (P-\n); \foreach[] \n in {} \draw (P-75) -- (P-\n); \foreach[] \n in {} \draw (P-76) -- (P-\n); \foreach[] \n in {} \draw (P-77) -- (P-\n); \foreach[] \n in {79,82} \draw (P-78) -- (P-\n); \foreach[] \n in {} \draw (P-79) -- (P-\n); \foreach[] \n in {} \draw (P-80) -- (P-\n); \foreach[] \n in {} \draw (P-81) -- (P-\n); \foreach[] \n in {86} \draw (P-82) -- (P-\n); \foreach[] \n in {84,86} \draw (P-83) -- (P-\n); \foreach[] \n in {90} \draw (P-84) -- (P-\n); \foreach[] \n in {} \draw (P-85) -- (P-\n); \foreach[] \n in {} \draw (P-86) -- (P-\n); \foreach[] \n in {} \draw (P-87) -- (P-\n); \foreach[] \n in {91,90} \draw (P-88) -- (P-\n); \foreach[] \n in {} \draw (P-89) -- (P-\n); \foreach[] \n in {} \draw (P-90) -- (P-\n); \foreach[] \n in {} \draw (P-91) -- (P-\n); \foreach[] \n in {} \draw (P-92) -- (P-\n); \foreach[] \n in {96,97,95} \draw (P-93) -- (P-\n); \foreach[] \n in {} \draw (P-94) -- (P-\n); \foreach[] \n in {} \draw (P-95) -- (P-\n); \foreach[] \n in {97} \draw (P-96) -- (P-\n); \foreach[] \n in {101} \draw (P-97) -- (P-\n); \foreach[] \n in {99,101,102,100} \draw (P-98) -- (P-\n); \foreach[] \n in {100,105} \draw (P-99) -- (P-\n); \foreach[] \n in {} \draw (P-100) -- (P-\n); \foreach[] \n in {102} \draw (P-101) -- (P-\n); \foreach[] \n in {} \draw (P-102) -- (P-\n); \foreach[] \n in {104,107,105} \draw (P-103) -- (P-\n); \foreach[] \n in {105} \draw (P-104) -- (P-\n); \foreach[] \n in {} \draw (P-105) -- (P-\n); \foreach[] \n in {} \draw (P-106) -- (P-\n); \foreach[] \n in {} \draw (P-107) -- (P-\n); \end{tikzpicture} $ Wenn ich nur eine Reihe von Punkten eingebe (nicht lückenlos durchnummeriert) $ \begin{tikzpicture}[scale=1] \coordinate[label=right:$P1$] (P-1) at (0.00,3.60); \coordinate[label=right:$P2$] (P-2) at (1.00,3.60); \coordinate[label=right:$P3$] (P-3) at (0.50,4.47); \coordinate[label=right:$P4$] (P-4) at (-0.50,4.47); \coordinate[label=right:$P5$] (P-5) at (-1.00,3.60); \coordinate[label=right:$P6$] (P-6) at (-0.50,2.73); \coordinate[label=right:$P7$] (P-7) at (0.50,2.73); \coordinate[label=right:$P8$] (P-8) at (0.00,1.08); \coordinate[label=right:$P9$] (P-9) at (-0.23,2.05); \coordinate[label=right:$P10$] (P-10) at (0.73,1.76); \coordinate[label=right:$P11$] (P-11) at (0.23,2.05); \coordinate[label=right:$P12$] (P-12) at (-0.73,1.76); \coordinate[label=right:$P13$] (P-13) at (-2.19,2.34); \coordinate[label=right:$P14$] (P-14) at (-1.46,3.02); \coordinate[label=right:$P15$] (P-15) at (-1.23,2.05); \coordinate[label=right:$P16$] (P-16) at (-1.23,2.63); \coordinate[label=right:$P17$] (P-17) at (-1.96,3.31); \coordinate[label=right:$P18$] (P-18) at (-2.19,4.86); \coordinate[label=right:$P19$] (P-19) at (-1.23,4.57); \coordinate[label=right:$P20$] (P-20) at (-1.96,3.89); \coordinate[label=right:$P21$] (P-21) at (-1.46,4.18); \coordinate[label=right:$P22$] (P-22) at (-1.23,5.15); \coordinate[label=right:$P23$] (P-23) at (-0.00,6.12); \coordinate[label=right:$P24$] (P-24) at (0.23,5.15); \coordinate[label=right:$P25$] (P-25) at (-0.73,5.44); \coordinate[label=right:$P26$] (P-26) at (-0.23,5.15); \coordinate[label=right:$P27$] (P-27) at (0.73,5.44); \coordinate[label=right:$P28$] (P-28) at (2.19,4.86); \coordinate[label=right:$P29$] (P-29) at (1.46,4.18); \coordinate[label=right:$P30$] (P-30) at (1.23,5.15); \coordinate[label=right:$P31$] (P-31) at (1.23,4.57); \coordinate[label=right:$P32$] (P-32) at (1.96,3.89); \coordinate[label=right:$P33$] (P-33) at (2.19,2.34); \coordinate[label=right:$P34$] (P-34) at (1.23,2.63); \coordinate[label=right:$P35$] (P-35) at (1.96,3.31); \coordinate[label=right:$P36$] (P-36) at (1.46,3.02); \coordinate[label=right:$P37$] (P-37) at (1.23,2.05); \coordinate[label=right:$P38$] (P-38) at (2.00,3.60); \coordinate[label=right:$P39$] (P-39) at (1.50,4.47); \coordinate[label=right:$P42$] (P-42) at (1.50,2.73); \coordinate[label=right:$P43$] (P-43) at (1.00,1.08); \coordinate[label=right:$P44$] (P-44) at (0.77,2.05); \coordinate[label=right:$P45$] (P-45) at (1.73,1.76); \coordinate[label=right:$P47$] (P-47) at (0.27,1.76); \coordinate[label=right:$P48$] (P-48) at (-1.19,2.34); \coordinate[label=right:$P49$] (P-49) at (-0.46,3.02); \coordinate[label=right:$P51$] (P-51) at (-0.23,2.63); \coordinate[label=right:$P52$] (P-52) at (-0.96,3.31); \coordinate[label=right:$P53$] (P-53) at (-1.19,4.86); \coordinate[label=right:$P54$] (P-54) at (-0.23,4.57); \coordinate[label=right:$P55$] (P-55) at (-0.96,3.89); \coordinate[label=right:$P56$] (P-56) at (-0.46,4.18); \coordinate[label=right:$P58$] (P-58) at (1.00,6.12); \coordinate[label=right:$P60$] (P-60) at (0.27,5.44); \coordinate[label=right:$P61$] (P-61) at (0.77,5.15); \coordinate[label=right:$P62$] (P-62) at (1.73,5.44); \coordinate[label=right:$P63$] (P-63) at (3.19,4.86); \coordinate[label=right:$P64$] (P-64) at (2.46,4.18); \coordinate[label=right:$P65$] (P-65) at (2.23,5.15); \coordinate[label=right:$P66$] (P-66) at (2.23,4.57); \coordinate[label=right:$P67$] (P-67) at (2.96,3.89); \coordinate[label=right:$P68$] (P-68) at (3.19,2.34); \coordinate[label=right:$P69$] (P-69) at (2.23,2.63); \coordinate[label=right:$P70$] (P-70) at (2.96,3.31); \coordinate[label=right:$P71$] (P-71) at (2.46,3.02); \coordinate[label=right:$P72$] (P-72) at (2.23,2.05); \coordinate[label=right:$P73$] (P-73) at (1.00,5.33); \coordinate[label=right:$P74$] (P-74) at (0.00,5.33); \coordinate[label=right:$P78$] (P-78) at (2.69,3.20); \coordinate[label=right:$P79$] (P-79) at (1.73,3.49); \coordinate[label=right:$P82$] (P-82) at (1.73,2.92); \coordinate[label=right:$P83$] (P-83) at (0.50,1.94); \coordinate[label=right:$P84$] (P-84) at (0.27,2.92); \coordinate[label=right:$P86$] (P-86) at (0.73,2.92); \coordinate[label=right:$P88$] (P-88) at (-1.69,3.20); \coordinate[label=right:$P90$] (P-90) at (-0.73,2.92); \coordinate[label=right:$P91$] (P-91) at (-0.73,3.49); \coordinate[label=right:$P93$] (P-93) at (-1.69,5.73); \coordinate[label=right:$P95$] (P-95) at (-1.46,4.75); \coordinate[label=right:$P96$] (P-96) at (-0.96,5.04); \coordinate[label=right:$P97$] (P-97) at (-0.73,6.02); \coordinate[label=right:$P98$] (P-98) at (0.50,6.99); \coordinate[label=right:$P99$] (P-99) at (0.73,6.02); \coordinate[label=right:$P100$] (P-100) at (-0.23,6.31); \coordinate[label=right:$P101$] (P-101) at (0.27,6.02); \coordinate[label=right:$P102$] (P-102) at (1.23,6.31); \coordinate[label=right:$P103$] (P-103) at (2.69,5.73); \coordinate[label=right:$P104$] (P-104) at (1.96,5.04); \coordinate[label=right:$P105$] (P-105) at (1.73,6.02); \coordinate[label=right:$P107$] (P-107) at (2.46,4.75); \coordinate[label=right:$P108$] (P-108) at (0.83,3.05); \coordinate[label=right:$P109$] (P-109) at (-0.06,2.60); \coordinate[label=right:$P110$] (P-110) at (-0.06,4.60); \coordinate[label=right:$P111$] (P-111) at (0.83,4.15); \coordinate[label=right:$P112$] (P-112) at (0.90,4.05); \coordinate[label=right:$P114$] (P-114) at (-0.90,4.05); \coordinate[label=right:$P116$] (P-116) at (1.06,2.60); \coordinate[label=right:$P117$] (P-117) at (0.17,3.05); \coordinate[label=right:$P118$] (P-118) at (0.17,4.15); \coordinate[label=right:$P119$] (P-119) at (1.06,4.60); \coordinate[label=right:$P121$] (P-121) at (0.10,4.05); \coordinate[label=right:$P123$] (P-123) at (1.90,4.05); \coordinate[label=right:$P124$] (P-124) at (-0.40,4.02); \coordinate[label=right:$P125$] (P-125) at (-0.33,5.02); \coordinate[label=right:$P126$] (P-126) at (1.40,4.02); \coordinate[label=right:$P127$] (P-127) at (0.56,3.47); \coordinate[label=right:$P128$] (P-128) at (0.44,3.47); \coordinate[label=right:$P130$] (P-130) at (1.33,5.02); \coordinate[label=right:$P132$] (P-132) at (-0.56,3.47); \coordinate[label=right:$P133$] (P-133) at (-1.40,4.02); \coordinate[label=right:$P134$] (P-134) at (0.33,5.02); \coordinate[label=right:$P135$] (P-135) at (0.40,4.02); \coordinate[label=right:$P136$] (P-136) at (0.33,3.91); \coordinate[label=right:$P138$] (P-138) at (-0.56,5.46); \coordinate[label=right:$P140$] (P-140) at (-0.17,3.05); \coordinate[label=right:$P141$] (P-141) at (-1.06,2.60); \coordinate[label=right:$P142$] (P-142) at (-1.06,4.60); \coordinate[label=right:$P143$] (P-143) at (-0.17,4.15); \coordinate[label=right:$P144$] (P-144) at (-1.40,3.18); \coordinate[label=right:$P145$] (P-145) at (-0.56,3.73); \coordinate[label=right:$P146$] (P-146) at (0.40,3.18); \coordinate[label=right:$P147$] (P-147) at (0.33,2.18); \coordinate[label=right:$P148$] (P-148) at (-0.33,2.18); \coordinate[label=right:$P149$] (P-149) at (-0.40,3.18); \coordinate[label=right:$P150$] (P-150) at (0.56,3.73); \coordinate[label=right:$P151$] (P-151) at (1.40,3.18); \coordinate[label=right:$P153$] (P-153) at (0.44,3.73); \coordinate[label=right:$P155$] (P-155) at (1.33,2.18); \coordinate[label=right:$P156$] (P-156) at (-0.96,1.36); \coordinate[label=right:$P158$] (P-158) at (-0.73,2.34); \coordinate[label=right:$P159$] (P-159) at (0.00,3.02); \coordinate[label=right:$P160$] (P-160) at (-0.67,2.49); \coordinate[label=right:$P162$] (P-162) at (-1.62,2.21); \coordinate[label=right:$P163$] (P-163) at (-0.79,2.76); \coordinate[label=right:$P165$] (P-165) at (-0.62,2.47); \coordinate[label=right:$P166$] (P-166) at (-0.33,2.49); \coordinate[label=right:$P167$] (P-167) at (-0.40,1.50); \coordinate[label=right:$P168$] (P-168) at (-1.29,3.62); \coordinate[label=right:$P170$] (P-170) at (-2.02,4.31); \coordinate[label=right:$P171$] (P-171) at (-1.12,3.86); \coordinate[label=right:$P173$] (P-173) at (-2.41,3.89); \coordinate[label=right:$P175$] (P-175) at (-1.29,3.58); \coordinate[label=right:$P176$] (P-176) at (-0.50,3.89); \coordinate[label=right:$P177$] (P-177) at (-1.46,3.60); \coordinate[label=right:$P178$] (P-178) at (-1.12,3.34); \coordinate[label=right:$P179$] (P-179) at (-2.02,2.89); \coordinate[label=right:$P181$] (P-181) at (-0.96,5.84); \coordinate[label=right:$P183$] (P-183) at (-0.96,6.41); \coordinate[label=right:$P184$] (P-184) at (0.90,6.57); \coordinate[label=right:$P185$] (P-185) at (0.83,5.57); \coordinate[label=right:$P186$] (P-186) at (0.00,4.18); \coordinate[label=right:$P187$] (P-187) at (-0.73,4.86); \coordinate[label=right:$P188$] (P-188) at (1.12,5.60); \coordinate[label=right:$P190$] (P-190) at (0.17,5.88); \coordinate[label=right:$P191$] (P-191) at (0.10,4.89); \coordinate[label=right:$P193$] (P-193) at (-0.96,4.47); \coordinate[label=right:$P194$] (P-194) at (0.00,4.75); \coordinate[label=right:$P195$] (P-195) at (-0.23,5.73); \coordinate[label=right:$P197$] (P-197) at (1.96,5.84); \coordinate[label=right:$P198$] (P-198) at (3.02,4.31); \coordinate[label=right:$P199$] (P-199) at (2.12,3.86); \coordinate[label=right:$P200$] (P-200) at (2.91,4.18); \coordinate[label=right:$P202$] (P-202) at (1.29,5.31); \coordinate[label=right:$P203$] (P-203) at (2.12,5.86); \coordinate[label=right:$P204$] (P-204) at (0.50,3.89); \coordinate[label=right:$P205$] (P-205) at (0.73,4.86); \coordinate[label=right:$P206$] (P-206) at (2.29,3.62); \coordinate[label=right:$P208$] (P-208) at (1.23,3.20); \coordinate[label=right:$P210$] (P-210) at (2.06,4.60); \coordinate[label=right:$P211$] (P-211) at (1.17,4.15); \coordinate[label=right:$P212$] (P-212) at (1.96,4.47); \coordinate[label=right:$P213$] (P-213) at (1.00,4.18); \coordinate[label=right:$P215$] (P-215) at (0.27,4.86); \coordinate[label=right:$P216$] (P-216) at (1.46,3.60); \coordinate[label=right:$P219$] (P-219) at (1.17,5.57); \coordinate[label=right:$P221$] (P-221) at (1.73,4.86); \coordinate[label=right:$P222$] (P-222) at (1.06,4.33); \coordinate[label=right:$P223$] (P-223) at (1.90,4.89); \coordinate[label=right:$P224$] (P-224) at (1.96,1.36); \coordinate[label=right:$P226$] (P-226) at (2.12,3.34); \coordinate[label=right:$P227$] (P-227) at (3.02,2.89); \coordinate[label=right:$P228$] (P-228) at (1.46,1.65); \coordinate[label=right:$P230$] (P-230) at (0.27,2.34); \coordinate[label=right:$P231$] (P-231) at (0.50,3.31); \coordinate[label=right:$P232$] (P-232) at (1.73,2.34); \coordinate[label=right:$P233$] (P-233) at (1.00,3.02); \coordinate[label=right:$P234$] (P-234) at (0.73,2.34); \coordinate[label=right:$P237$] (P-237) at (2.29,3.58); \coordinate[label=right:$P238$] (P-238) at (1.17,3.05); \coordinate[label=right:$P239$] (P-239) at (2.06,2.60); \coordinate[label=right:$P240$] (P-240) at (0.60,4.02); \coordinate[label=right:$P241$] (P-241) at (0.67,5.02); \coordinate[label=right:$P242$] (P-242) at (2.40,4.02); \coordinate[label=right:$P243$] (P-243) at (1.56,3.47); \coordinate[label=right:$P245$] (P-245) at (0.67,3.91); \coordinate[label=right:$P247$] (P-247) at (1.56,5.46); \coordinate[label=right:$P248$] (P-248) at (0.67,2.18); \end{tikzpicture} $ wenn ich da einige der nachfolgenden ergänze \sourceon TikZ \coordinate[label=right:$P249$] (P-249) at (0.60,3.18); \coordinate[label=right:$P250$] (P-250) at (1.56,3.73); \coordinate[label=right:$P251$] (P-251) at (2.40,3.18); \coordinate[label=right:$P253$] (P-253) at (1.67,2.49); \coordinate[label=right:$P254$] (P-254) at (1.79,2.76); \coordinate[label=right:$P255$] (P-255) at (2.62,2.21); \coordinate[label=right:$P257$] (P-257) at (-0.46,1.65); \coordinate[label=right:$P259$] (P-259) at (-1.91,4.18); \coordinate[label=right:$P260$] (P-260) at (-1.12,5.86); \coordinate[label=right:$P261$] (P-261) at (-0.29,5.31); \coordinate[label=right:$P263$] (P-263) at (-0.46,3.60); \coordinate[label=right:$P264$] (P-264) at (-0.17,5.57); \coordinate[label=right:$P266$] (P-266) at (-0.90,4.89); \coordinate[label=right:$P267$] (P-267) at (-0.06,4.33); \coordinate[label=right:$P269$] (P-269) at (-0.23,3.20); \coordinate[label=right:$P270$] (P-270) at (0.17,5.57); \coordinate[label=right:$P271$] (P-271) at (0.10,6.57); \coordinate[label=right:$P272$] (P-272) at (1.96,6.41); \coordinate[label=right:$P274$] (P-274) at (1.23,5.73); \coordinate[label=right:$P275$] (P-275) at (1.00,4.75); \coordinate[label=right:$P277$] (P-277) at (-0.12,5.60); \coordinate[label=right:$P278$] (P-278) at (0.90,4.89); \coordinate[label=right:$P279$] (P-279) at (0.83,5.88); \coordinate[label=right:$P280$] (P-280) at (3.41,3.89); \coordinate[label=right:$P282$] (P-282) at (2.46,3.60); \coordinate[label=right:$P283$] (P-283) at (1.50,3.89); \coordinate[label=right:$P284$] (P-284) at (1.62,2.47); \coordinate[label=right:$P286$] (P-286) at (1.40,1.50); \coordinate[label=right:$P287$] (P-287) at (1.33,2.49); \sourceoff erhalte ich wieder den Fehler "Unparseable or potentially dangerous latex formula. Error 1". Beim Schreiben dieses Beitrages kann ich auch nicht pgfplot mit seperater Koordinatendatei anwenden. Mir macht diese Beschränkung nichts aus, ich wollte nur zeigen, dass man mit TikZ auch nicht unbedingt weiter kommt als wie mit fedgeo. [Die Antwort wurde nach Beitrag No.6 begonnen.]


   Profil
Ex_Senior
  Beitrag No.9, eingetragen 2018-08-26

Mit 'Ersetzen' bringe ich den Code \coordinate[label=right:$P249$] (P-249) at (0.60,3.18); \coordinate[label=right:$P250$] (P-250) at (1.56,3.73); ...... auf eine Tabelle des Typs \sourceon P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 .............. \sourceoff Die vorderste, 0. Spalte wäre unnötig, müsste ich aber manuell löschen. Einfacher dürfte natürlich sein, wenn das Erstellungsprogramm der Streichhholzgraphen direkt so eine Tabelle liefert. Mit pgfplots schaffe ich vorerst nur die Streichholzköpfe. Jetzt müsste man sich überlegen, wie man am besten die Verbindungslinien zeichnet. Da habe ich noch keine konrekte Idee; hier erstmal als Umsetzungsbeispiel mit pgfplots: $ \begin{tikzpicture}%[scale=1.875] \begin{axis}[ hide axis, x = 15mm, y=15mm ] \addplot+ [only marks, mark options={red}, mark size=1.125pt, % Bezeichnung font=\scriptsize\ttfamily, % \tiny % \scriptsize visualization depends on={value \thisrowno{1} \as \Label}, nodes near coords={\Label}, every node near coord/.append style={text=black}, ] table[x index=2, y index=3] {% P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P8 8 0.00 1.08 P9 9 -0.23 2.05 P10 10 0.73 1.76 P11 11 0.23 2.05 P12 12 -0.73 1.76 P13 13 -2.19 2.34 P14 14 -1.46 3.02 P15 15 -1.23 2.05 P16 16 -1.23 2.63 P17 17 -1.96 3.31 P18 18 -2.19 4.86 P19 19 -1.23 4.57 P20 20 -1.96 3.89 P21 21 -1.46 4.18 P22 22 -1.23 5.15 P23 23 -0.00 6.12 P24 24 0.23 5.15 P25 25 -0.73 5.44 P26 26 -0.23 5.15 P27 27 0.73 5.44 P28 28 2.19 4.86 P29 29 1.46 4.18 P30 30 1.23 5.15 P31 31 1.23 4.57 P32 32 1.96 3.89 P33 33 2.19 2.34 P34 34 1.23 2.63 P35 35 1.96 3.31 P36 36 1.46 3.02 P37 37 1.23 2.05 P38 38 2.00 3.60 P39 39 1.50 4.47 P42 42 1.50 2.73 P43 43 1.00 1.08 P44 44 0.77 2.05 P45 45 1.73 1.76 P47 47 0.27 1.76 P48 48 -1.19 2.34 P49 49 -0.46 3.02 P51 51 -0.23 2.63 P52 52 -0.96 3.31 P53 53 -1.19 4.86 P54 54 -0.23 4.57 P55 55 -0.96 3.89 P56 56 -0.46 4.18 P58 58 1.00 6.12 P60 60 0.27 5.44 P61 61 0.77 5.15 P62 62 1.73 5.44 P63 63 3.19 4.86 P64 64 2.46 4.18 P65 65 2.23 5.15 P66 66 2.23 4.57 P67 67 2.96 3.89 P68 68 3.19 2.34 P69 69 2.23 2.63 P70 70 2.96 3.31 P71 71 2.46 3.02 P72 72 2.23 2.05 P73 73 1.00 5.33 P74 74 0.00 5.33 P78 78 2.69 3.20 P79 79 1.73 3.49 P82 82 1.73 2.92 P83 83 0.50 1.94 P84 84 0.27 2.92 P86 86 0.73 2.92 P88 88 -1.69 3.20 P90 90 -0.73 2.92 P91 91 -0.73 3.49 P93 93 -1.69 5.73 P95 95 -1.46 4.75 P96 96 -0.96 5.04 P97 97 -0.73 6.02 P98 98 0.50 6.99 P99 99 0.73 6.02 P100 100 -0.23 6.31 P101 101 0.27 6.02 P102 102 1.23 6.31 P103 103 2.69 5.73 P104 104 1.96 5.04 P105 105 1.73 6.02 P107 107 2.46 4.75 }; \end{axis} \end{tikzpicture} $ _____ BTW: Es ist m.E. unnötig an alle Punkte "P231" ranzuschreiben; aus den Zahlen 1,2,... geht klar hervor, dass es sich um eine Punktnummerierung handelt. Ich bin aber kein Streichholzgrapher, wenn das also trotzdem sein soll kann man -hier- auch visualization depends on={value \thisrowno{1} \as \Label} in \thisrowno{0} ändern.


   Profil
Ex_Senior
  Beitrag No.10, eingetragen 2018-08-26

Wenn ich nun den Linienzug \foreach[] \n in {3,51,54,55,4,86,90,2,5,6,7,52} \draw (P-1) -- (P-\n); zeichnen möchte, kann ich den Graphen \sourceon latex \addplot [no marks, black] table[x index=2, y index=3] {% P1 1 0.00 3.60 P3 3 0.50 4.47 P51 51 -0.23 2.63 P53 53 -1.19 4.86 P54 54 -0.23 4.57 P55 55 -0.96 3.89 P4 4 -0.50 4.47 P86 86 0.73 2.92 P90 90 -0.73 2.92 P2 2 1.00 3.60 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P52 52 -0.96 3.31 }; \sourceoff ergänzen. Vll. geht es aber auch noch eleganter. PS: Mit der Methode könnte man sich auf die Tableplots der Linienzüge begrenzen. So werden aber gleiche Koordinaten mehrfach aufgeführt; daher schaue ich noch nach einer Methode, die von einer einzigen Tabelle ausgeht. $ \pgfplotsset{compat=1.13, Main/.style={ only marks, mark options={red}, mark size=1.125pt, % Bezeichnung visualization depends on={value \thisrowno{1} \as \Label}, nodes near coords={\Label}, every node near coord/.append style={text=black, font=\scriptsize\ttfamily, % \tiny % \scriptsize } }, Part/.style={no marks, black } }% \begin{tikzpicture}%[scale=1.875] \begin{axis}[ hide axis, x = 15mm, y=15mm ] \addplot+ [Main] table[x index=2, y index=3] {% P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P8 8 0.00 1.08 P9 9 -0.23 2.05 P10 10 0.73 1.76 P11 11 0.23 2.05 P12 12 -0.73 1.76 P13 13 -2.19 2.34 P14 14 -1.46 3.02 P15 15 -1.23 2.05 P16 16 -1.23 2.63 P17 17 -1.96 3.31 P18 18 -2.19 4.86 P19 19 -1.23 4.57 P20 20 -1.96 3.89 P21 21 -1.46 4.18 P22 22 -1.23 5.15 P23 23 -0.00 6.12 P24 24 0.23 5.15 P25 25 -0.73 5.44 P26 26 -0.23 5.15 P27 27 0.73 5.44 P28 28 2.19 4.86 P29 29 1.46 4.18 P30 30 1.23 5.15 P31 31 1.23 4.57 P32 32 1.96 3.89 P33 33 2.19 2.34 P34 34 1.23 2.63 P35 35 1.96 3.31 P36 36 1.46 3.02 P37 37 1.23 2.05 P38 38 2.00 3.60 P39 39 1.50 4.47 P42 42 1.50 2.73 P43 43 1.00 1.08 P44 44 0.77 2.05 P45 45 1.73 1.76 P47 47 0.27 1.76 P48 48 -1.19 2.34 P49 49 -0.46 3.02 P51 51 -0.23 2.63 P52 52 -0.96 3.31 P53 53 -1.19 4.86 P54 54 -0.23 4.57 P55 55 -0.96 3.89 P56 56 -0.46 4.18 P58 58 1.00 6.12 P60 60 0.27 5.44 P61 61 0.77 5.15 P62 62 1.73 5.44 P63 63 3.19 4.86 P64 64 2.46 4.18 P65 65 2.23 5.15 P66 66 2.23 4.57 P67 67 2.96 3.89 P68 68 3.19 2.34 P69 69 2.23 2.63 P70 70 2.96 3.31 P71 71 2.46 3.02 P72 72 2.23 2.05 P73 73 1.00 5.33 P74 74 0.00 5.33 P78 78 2.69 3.20 P79 79 1.73 3.49 P82 82 1.73 2.92 P83 83 0.50 1.94 P84 84 0.27 2.92 P86 86 0.73 2.92 P88 88 -1.69 3.20 P90 90 -0.73 2.92 P91 91 -0.73 3.49 P93 93 -1.69 5.73 P95 95 -1.46 4.75 P96 96 -0.96 5.04 P97 97 -0.73 6.02 P98 98 0.50 6.99 P99 99 0.73 6.02 P100 100 -0.23 6.31 P101 101 0.27 6.02 P102 102 1.23 6.31 P103 103 2.69 5.73 P104 104 1.96 5.04 P105 105 1.73 6.02 P107 107 2.46 4.75 }; % Linienzug \addplot [Part] table[x index=2, y index=3] {% P1 1 0.00 3.60 P3 3 0.50 4.47 P51 51 -0.23 2.63 P53 53 -1.19 4.86 P54 54 -0.23 4.57 P55 55 -0.96 3.89 P4 4 -0.50 4.47 P86 86 0.73 2.92 P90 90 -0.73 2.92 P2 2 1.00 3.60 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P52 52 -0.96 3.31 }; \end{axis} \end{tikzpicture} $ Minimalbeispiel für eigenen PC: Siehe folgender Beitrag.


   Profil
Ex_Senior
  Beitrag No.11, eingetragen 2018-08-26

Ich weiß, wie man es mit pgfplots machen kann Ausgehend von einer Tabelle \sourceon P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 .... \sourceoff kann man zunächst die Koordinatenpunkte zeichnen und darauf benannte leere 'nodes near coords' legen; und diese schließlich mit Schleifen beschriften. Wichtig: 1. Die Tabelle muss vollständig sein; es darf also nicht z.B. P77 77 ... ... fehlen, da sonst die Zählung in den Schleifen nicht mehr stimmt. Eventuell muss für Lücken ein Aliaswert,z.B. P77 77 0 0 stehen. 2. Wie gesagt kann man auf die vorderste Spalte der Tabelle verzichten. 3. pgfplots zählt die erste Zeile (Spalte) ab 0. Das ist hier ein bisschen doof, da man umdenken muss; und ich weiß gerade nicht wie man den Default ändert. Wäre es schlimm, wenn man die Streichholzkoordinatenpunkte ab 0, statt ab 1 zählt? €dit: einfach eine 0. Anfangszeile mit Aliaswerten setzen. Vor allem wegen den Lücken kann ich gerade kein vollständiges Beispiel erstellen. Also entweder Du versuchst Dich selbst daran oder jemand liefert mir eine vollständige Streicholzkoordinatentabelle des Typs \sourceon 0 0.00 3.60 1 1.00 3.60 2 0.50 4.47 3 -0.50 4.47 4 -1.00 3.60 .... \sourceoff $ \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }, }, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[ BeschriftungsStyle/.style={text=black, font=\scriptsize\ttfamily, % \tiny % \scriptsize } ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=2, y index=3] {% P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P8 8 0.00 1.08 P9 9 -0.23 2.05 P10 10 0.73 1.76 }; \end{axis} % Beschriftung der Streichholzköpfe \foreach[evaluate={\N=int(\n+1)}] \n in {0,...,9} \node[above, BeschriftungsStyle] at (P-\n) {\N}; % Zeichnen der Linienzüge \foreach \n in {3,2,5,2,6,4,1} \draw[] (P-0) -- (P-\n); \foreach \n in {6,8,4} \draw[blue] (P-5) -- (P-\n); \end{tikzpicture} $ PS: Da TikZ nahezu beliebig erweiterbar ist kann man auch ein Koordinatensystem usw. dazuzeichnen, ich habe mich erstmal an den bekannten Stil gehalten. \sourceon latex \documentclass[margin=5mm, tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }, }, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[ BeschriftungsStyle/.style={text=black, font=\scriptsize\ttfamily, % \tiny % \scriptsize } ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Linienzug \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=2, y index=3] {% P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P8 8 0.00 1.08 P9 9 -0.23 2.05 P10 10 0.73 1.76 }; \end{axis} % Beschriftung der Streichholzköpfe \foreach[evaluate={\N=int(\n+1)}] \n in {0,...,9} \node[above, BeschriftungsStyle] at (P-\n) {\N}; % Zeichnen der Linienzüge \foreach \n in {3,2,5,2,6,4,1} \draw[] (P-0) -- (P-\n); \foreach \n in {6,8,4} \draw[blue] (P-5) -- (P-\n); \end{tikzpicture} \end{document} \sourceoff


   Profil
StefanVogel
Senior Letzter Besuch: in der letzten Woche
Dabei seit: 26.11.2005
Mitteilungen: 3969
Wohnort: Raun
  Beitrag No.12, eingetragen 2018-08-26

Klasse! Ich komm nicht nach mit lesen. Die vorderste Tabellenspalte weglassen geht aber.


   Profil
Ex_Senior
  Beitrag No.13, eingetragen 2018-08-26

\quoteon(2018-08-26 17:59 - StefanVogel in Beitrag No. 12) Klasse! 1. Ich komm nicht nach mit lesen. 2. Die vorderste Tabellenspalte weglassen geht aber. \quoteoff 1. Du brauchst eigentlich nur, meinen letzten Beitrag zu betrachten. 2. Stimmt Du hast eigentlich recht! Man kann einfach eine Anfangszeile mit Aliaswerten setzen; z.B. P0 0 -50 -50 Das ist dann die 0. Zeile für pgfplots. Und die anderen Werte können wie gewohnt gezählt werden. Wie gesagt, die Tabelle muss halt vollständig sein. Wenn Du sowas posten kannst...


   Profil
Ex_Senior
  Beitrag No.14, eingetragen 2018-08-26

Also mit den Daten, die ich aus #8 habe, und ergänzen der Lücken mit Fantasiewerten komme ich auf folgendes Bild: $ \tikzstyle{background rectangle}= [fill=black!1, rounded corners, draw=lightgray] \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }, }, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[show background rectangle, every path/.style={draw=gray}, BeschriftungsStyle/.style={text=black, font=\scriptsize\ttfamily, % \tiny % \scriptsize } ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Linienzug \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen \coordindex only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=2, y index=3] {% P0 0 0 0 P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P8 8 0.00 1.08 P9 9 -0.23 2.05 P10 10 0.73 1.76 P11 11 0.23 2.05 P12 12 -0.73 1.76 P13 13 -2.19 2.34 P14 14 -1.46 3.02 P15 15 -1.23 2.05 P16 16 -1.23 2.63 P17 17 -1.96 3.31 P18 18 -2.19 4.86 P19 19 -1.23 4.57 P20 20 -1.96 3.89 P21 21 -1.46 4.18 P22 22 -1.23 5.15 P23 23 -0.00 6.12 P24 24 0.23 5.15 P25 25 -0.73 5.44 P26 26 -0.23 5.15 P27 27 0.73 5.44 P28 28 2.19 4.86 P29 29 1.46 4.18 P30 30 1.23 5.15 P31 31 1.23 4.57 P32 32 1.96 3.89 P33 33 2.19 2.34 P34 34 1.23 2.63 P35 35 1.96 3.31 P36 36 1.46 3.02 P37 37 1.23 2.05 P38 38 2.00 3.60 P39 39 1.50 4.47 P40 40 -0 -0 P41 41 -0 -0 P42 42 1.50 2.73 P43 43 1.00 1.08 P44 44 0.77 2.05 P45 45 1.73 1.76 P46 46 -0 -0 P47 47 0.27 1.76 P48 48 -1.19 2.34 P49 49 -0.46 3.02 P50 50 -0 -0 P51 51 -0.23 2.63 P52 52 -0.96 3.31 P53 53 -1.19 4.86 P54 54 -0.23 4.57 P55 55 -0.96 3.89 P56 56 -0.46 4.18 P57 57 -0 -0 P58 58 1.00 6.12 P59 59 -0 -0 P60 60 0.27 5.44 P61 61 0.77 5.15 P62 62 1.73 5.44 P63 63 3.19 4.86 P64 64 2.46 4.18 P65 65 2.23 5.15 P66 66 2.23 4.57 P67 67 2.96 3.89 P68 68 3.19 2.34 P69 69 2.23 2.63 P70 70 2.96 3.31 P71 71 2.46 3.02 P72 72 2.23 2.05 P73 73 1.00 5.33 P74 74 0.00 5.33 P75 75 -0 -0 P76 76 -0 -0 P77 77 -0 -0 P78 78 2.69 3.20 P79 79 1.73 3.49 P80 80 -0 -0 P80 81 -0 -0 P82 82 1.73 2.92 P83 83 0.50 1.94 P84 84 0.27 2.92 P85 85 -0 -0 P86 86 0.73 2.92 P87 87 -0 -0 P88 88 -1.69 3.20 P89 89 -0 -0 P90 90 -0.73 2.92 P91 91 -0.73 3.49 P92 92 -0 -0 P93 93 -1.69 5.73 P94 94 -0 -0 P95 95 -1.46 4.75 P96 96 -0.96 5.04 P97 97 -0.73 6.02 P98 98 0.50 6.99 P99 99 0.73 6.02 P100 100 -0.23 6.31 P101 101 0.27 6.02 P102 102 1.23 6.31 P103 103 2.69 5.73 P104 104 1.96 5.04 P105 105 1.73 6.02 P106 106 -0 -0 P107 107 2.46 4.75 }; \end{axis} % Beschriftung der Streichholzköpfe \foreach \n in {1,...,107} \node[above, BeschriftungsStyle] at (P-\n) {\n}; % % Zeichnen der Linienzüge \foreach[] \n in {} \draw (P-0) -- (P-\n); \foreach[] \n in {3,51,54,55,4,86,90,2,5,6,7,52} \draw (P-1) -- (P-\n); \foreach[] \n in {7,31,34,35,3,32,84,39,82,38,42} \draw (P-2) -- (P-\n); \foreach[] \n in {26,29,30,4,27,73,74,39,56,60} \draw (P-3) -- (P-\n); \foreach[] \n in {21,24,25,5,22,74,91,95} \draw (P-4) -- (P-\n); \foreach[] \n in {16,19,20,6,17} \draw (P-5) -- (P-\n); \foreach[] \n in {11,14,15,7,12} \draw (P-6) -- (P-\n); \foreach[] \n in {9,10,36,37,49,42,47} \draw (P-7) -- (P-\n); \foreach[] \n in {9,11,12,10,43,83} \draw (P-8) -- (P-\n); \foreach[] \n in {10,48,49,15,44,84,90} \draw (P-9) -- (P-\n); \foreach[] \n in {34,45} \draw (P-10) -- (P-\n); \foreach[] \n in {12,37,86} \draw (P-11) -- (P-\n); \foreach[] \n in {16,47,51} \draw (P-12) -- (P-\n); \foreach[] \n in {14,16,17,15,48,88} \draw (P-13) -- (P-\n); \foreach[] \n in {15,20,49,55} \draw (P-14) -- (P-\n); \foreach[] \n in {90} \draw (P-15) -- (P-\n); \foreach[] \n in {17,51,91} \draw (P-16) -- (P-\n); \foreach[] \n in {21,52} \draw (P-17) -- (P-\n); \foreach[] \n in {19,21,22,20,53,93} \draw (P-18) -- (P-\n); \foreach[] \n in {20,25,54} \draw (P-19) -- (P-\n); \foreach[] \n in {55,95} \draw (P-20) -- (P-\n); \foreach[] \n in {22,88,91,52,56,96} \draw (P-21) -- (P-\n); \foreach[] \n in {26,97} \draw (P-22) -- (P-\n); \foreach[] \n in {24,26,27,25,58,98} \draw (P-23) -- (P-\n); \foreach[] \n in {25,30,99} \draw (P-24) -- (P-\n); \foreach[] \n in {93,95,54,60,100} \draw (P-25) -- (P-\n); \foreach[] \n in {27,53,56,61,97,101} \draw (P-26) -- (P-\n); \foreach[] \n in {31,62,102} \draw (P-27) -- (P-\n); \foreach[] \n in {29,31,32,30,63,103} \draw (P-28) -- (P-\n); \foreach[] \n in {30,35,64,104} \draw (P-29) -- (P-\n); \foreach[] \n in {58,60,65,99,105} \draw (P-30) -- (P-\n); \foreach[] \n in {32,62,66} \draw (P-31) -- (P-\n); \foreach[] \n in {78,82,36,67,71,107} \draw (P-32) -- (P-\n); \foreach[] \n in {34,36,37,35,68,78} \draw (P-33) -- (P-\n); \foreach[] \n in {35,83,84,45,69,79} \draw (P-34) -- (P-\n); \foreach[] \n in {64,70} \draw (P-35) -- (P-\n); \foreach[] \n in {37,71} \draw (P-36) -- (P-\n); \foreach[] \n in {43,47,72,82,86} \draw (P-37) -- (P-\n); \foreach[] \n in {42,66,69,70,39,67} \draw (P-38) -- (P-\n); \foreach[] \n in {61,64,65,62,73,79,107} \draw (P-39) -- (P-\n); \foreach[] \n in {} \draw (P-40) -- (P-\n); \foreach[] \n in {} \draw (P-41) -- (P-\n); \foreach[] \n in {44,45,71,72} \draw (P-42) -- (P-\n); \foreach[] \n in {44,47,45,83} \draw (P-43) -- (P-\n); \foreach[] \n in {45,84} \draw (P-44) -- (P-\n); \foreach[] \n in {69} \draw (P-45) -- (P-\n); \foreach[] \n in {} \draw (P-46) -- (P-\n); \foreach[] \n in {51} \draw (P-47) -- (P-\n); \foreach[] \n in {49,51,52,88} \draw (P-48) -- (P-\n); \foreach[] \n in {55} \draw (P-49) -- (P-\n); \foreach[] \n in {} \draw (P-50) -- (P-\n); \foreach[] \n in {52,83,86,91} \draw (P-51) -- (P-\n); \foreach[] \n in {56} \draw (P-52) -- (P-\n); \foreach[] \n in {54,56,55,93} \draw (P-53) -- (P-\n); \foreach[] \n in {55,60} \draw (P-54) -- (P-\n); \foreach[] \n in {88,90,95} \draw (P-55) -- (P-\n); \foreach[] \n in {96} \draw (P-56) -- (P-\n); \foreach[] \n in {} \draw (P-57) -- (P-\n); \foreach[] \n in {61,62,60,98} \draw (P-58) -- (P-\n); \foreach[] \n in {} \draw (P-59) -- (P-\n); \foreach[] \n in {100} \draw (P-60) -- (P-\n); \foreach[] \n in {62,101} \draw (P-61) -- (P-\n); \foreach[] \n in {103,107,66,102} \draw (P-62) -- (P-\n); \foreach[] \n in {64,66,67,65,103} \draw (P-63) -- (P-\n); \foreach[] \n in {65,78,79,70,104} \draw (P-64) -- (P-\n); \foreach[] \n in {105} \draw (P-65) -- (P-\n); \foreach[] \n in {67} \draw (P-66) -- (P-\n); \foreach[] \n in {71,107} \draw (P-67) -- (P-\n); \foreach[] \n in {69,71,72,70,78} \draw (P-68) -- (P-\n); \foreach[] \n in {70,79} \draw (P-69) -- (P-\n); \foreach[] \n in {} \draw (P-70) -- (P-\n); \foreach[] \n in {72} \draw (P-71) -- (P-\n); \foreach[] \n in {82} \draw (P-72) -- (P-\n); \foreach[] \n in {101,104,105,74,102} \draw (P-73) -- (P-\n); \foreach[] \n in {96,99,100,97} \draw (P-74) -- (P-\n); \foreach[] \n in {} \draw (P-75) -- (P-\n); \foreach[] \n in {} \draw (P-76) -- (P-\n); \foreach[] \n in {} \draw (P-77) -- (P-\n); \foreach[] \n in {79,82} \draw (P-78) -- (P-\n); \foreach[] \n in {} \draw (P-79) -- (P-\n); \foreach[] \n in {} \draw (P-80) -- (P-\n); \foreach[] \n in {} \draw (P-81) -- (P-\n); \foreach[] \n in {86} \draw (P-82) -- (P-\n); \foreach[] \n in {84,86} \draw (P-83) -- (P-\n); \foreach[] \n in {90} \draw (P-84) -- (P-\n); \foreach[] \n in {} \draw (P-85) -- (P-\n); \foreach[] \n in {} \draw (P-86) -- (P-\n); \foreach[] \n in {} \draw (P-87) -- (P-\n); \foreach[] \n in {91,90} \draw (P-88) -- (P-\n); \foreach[] \n in {} \draw (P-89) -- (P-\n); \foreach[] \n in {} \draw (P-90) -- (P-\n); \foreach[] \n in {} \draw (P-91) -- (P-\n); \foreach[] \n in {} \draw (P-92) -- (P-\n); \foreach[] \n in {96,97,95} \draw (P-93) -- (P-\n); \foreach[] \n in {} \draw (P-94) -- (P-\n); \foreach[] \n in {} \draw (P-95) -- (P-\n); \foreach[] \n in {97} \draw (P-96) -- (P-\n); \foreach[] \n in {101} \draw (P-97) -- (P-\n); \foreach[] \n in {99,101,102,100} \draw (P-98) -- (P-\n); \foreach[] \n in {100,105} \draw (P-99) -- (P-\n); \foreach[] \n in {} \draw (P-100) -- (P-\n); \foreach[] \n in {102} \draw (P-101) -- (P-\n); \foreach[] \n in {} \draw (P-102) -- (P-\n); \foreach[] \n in {104,107,105} \draw (P-103) -- (P-\n); \foreach[] \n in {105} \draw (P-104) -- (P-\n); \foreach[] \n in {} \draw (P-105) -- (P-\n); \foreach[] \n in {} \draw (P-106) -- (P-\n); \foreach[] \n in {} \draw (P-107) -- (P-\n); \end{tikzpicture} $ Der hässliche Boppel unten verschwindet, sobald in den Lücken richtige Werte stehen... Kann man jetzt natürlich mit allen möglichen TikZ-Mitteln so dran rumbasteln, dass es schön aussieht. $ \tikzstyle{background rectangle}= [fill=black!1, rounded corners, draw=lightgray] \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }, }, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[show background rectangle, every path/.style={draw=yellow!60!orange}, BeschriftungsStyle/.style={text=black, font=\scriptsize\ttfamily, % \tiny % \scriptsize } ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Linienzug \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen \coordindex only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=2, y index=3] {% P0 0 0 0 P1 1 0.00 3.60 P2 2 1.00 3.60 P3 3 0.50 4.47 P4 4 -0.50 4.47 P5 5 -1.00 3.60 P6 6 -0.50 2.73 P7 7 0.50 2.73 P8 8 0.00 1.08 P9 9 -0.23 2.05 P10 10 0.73 1.76 P11 11 0.23 2.05 P12 12 -0.73 1.76 P13 13 -2.19 2.34 P14 14 -1.46 3.02 P15 15 -1.23 2.05 P16 16 -1.23 2.63 P17 17 -1.96 3.31 P18 18 -2.19 4.86 P19 19 -1.23 4.57 P20 20 -1.96 3.89 P21 21 -1.46 4.18 P22 22 -1.23 5.15 P23 23 -0.00 6.12 P24 24 0.23 5.15 P25 25 -0.73 5.44 P26 26 -0.23 5.15 P27 27 0.73 5.44 P28 28 2.19 4.86 P29 29 1.46 4.18 P30 30 1.23 5.15 P31 31 1.23 4.57 P32 32 1.96 3.89 P33 33 2.19 2.34 P34 34 1.23 2.63 P35 35 1.96 3.31 P36 36 1.46 3.02 P37 37 1.23 2.05 P38 38 2.00 3.60 P39 39 1.50 4.47 P40 40 -0 -0 P41 41 -0 -0 P42 42 1.50 2.73 P43 43 1.00 1.08 P44 44 0.77 2.05 P45 45 1.73 1.76 P46 46 -0 -0 P47 47 0.27 1.76 P48 48 -1.19 2.34 P49 49 -0.46 3.02 P50 50 -0 -0 P51 51 -0.23 2.63 P52 52 -0.96 3.31 P53 53 -1.19 4.86 P54 54 -0.23 4.57 P55 55 -0.96 3.89 P56 56 -0.46 4.18 P57 57 -0 -0 P58 58 1.00 6.12 P59 59 -0 -0 P60 60 0.27 5.44 P61 61 0.77 5.15 P62 62 1.73 5.44 P63 63 3.19 4.86 P64 64 2.46 4.18 P65 65 2.23 5.15 P66 66 2.23 4.57 P67 67 2.96 3.89 P68 68 3.19 2.34 P69 69 2.23 2.63 P70 70 2.96 3.31 P71 71 2.46 3.02 P72 72 2.23 2.05 P73 73 1.00 5.33 P74 74 0.00 5.33 P75 75 -0 -0 P76 76 -0 -0 P77 77 -0 -0 P78 78 2.69 3.20 P79 79 1.73 3.49 P80 80 -0 -0 P80 81 -0 -0 P82 82 1.73 2.92 P83 83 0.50 1.94 P84 84 0.27 2.92 P85 85 -0 -0 P86 86 0.73 2.92 P87 87 -0 -0 P88 88 -1.69 3.20 P89 89 -0 -0 P90 90 -0.73 2.92 P91 91 -0.73 3.49 P92 92 -0 -0 P93 93 -1.69 5.73 P94 94 -0 -0 P95 95 -1.46 4.75 P96 96 -0.96 5.04 P97 97 -0.73 6.02 P98 98 0.50 6.99 P99 99 0.73 6.02 P100 100 -0.23 6.31 P101 101 0.27 6.02 P102 102 1.23 6.31 P103 103 2.69 5.73 P104 104 1.96 5.04 P105 105 1.73 6.02 P106 106 -0 -0 P107 107 2.46 4.75 }; \end{axis} % Zeichnen der Linienzüge \foreach[] \n in {} \draw (P-0) -- (P-\n); \foreach[] \n in {3,51,54,55,4,86,90,2,5,6,7,52} \draw (P-1) -- (P-\n); \foreach[] \n in {7,31,34,35,3,32,84,39,82,38,42} \draw (P-2) -- (P-\n); \foreach[] \n in {26,29,30,4,27,73,74,39,56,60} \draw (P-3) -- (P-\n); \foreach[] \n in {21,24,25,5,22,74,91,95} \draw (P-4) -- (P-\n); \foreach[] \n in {16,19,20,6,17} \draw (P-5) -- (P-\n); \foreach[] \n in {11,14,15,7,12} \draw (P-6) -- (P-\n); \foreach[] \n in {9,10,36,37,49,42,47} \draw (P-7) -- (P-\n); \foreach[] \n in {9,11,12,10,43,83} \draw (P-8) -- (P-\n); \foreach[] \n in {10,48,49,15,44,84,90} \draw (P-9) -- (P-\n); \foreach[] \n in {34,45} \draw (P-10) -- (P-\n); \foreach[] \n in {12,37,86} \draw (P-11) -- (P-\n); \foreach[] \n in {16,47,51} \draw (P-12) -- (P-\n); \foreach[] \n in {14,16,17,15,48,88} \draw (P-13) -- (P-\n); \foreach[] \n in {15,20,49,55} \draw (P-14) -- (P-\n); \foreach[] \n in {90} \draw (P-15) -- (P-\n); \foreach[] \n in {17,51,91} \draw (P-16) -- (P-\n); \foreach[] \n in {21,52} \draw (P-17) -- (P-\n); \foreach[] \n in {19,21,22,20,53,93} \draw (P-18) -- (P-\n); \foreach[] \n in {20,25,54} \draw (P-19) -- (P-\n); \foreach[] \n in {55,95} \draw (P-20) -- (P-\n); \foreach[] \n in {22,88,91,52,56,96} \draw (P-21) -- (P-\n); \foreach[] \n in {26,97} \draw (P-22) -- (P-\n); \foreach[] \n in {24,26,27,25,58,98} \draw (P-23) -- (P-\n); \foreach[] \n in {25,30,99} \draw (P-24) -- (P-\n); \foreach[] \n in {93,95,54,60,100} \draw (P-25) -- (P-\n); \foreach[] \n in {27,53,56,61,97,101} \draw (P-26) -- (P-\n); \foreach[] \n in {31,62,102} \draw (P-27) -- (P-\n); \foreach[] \n in {29,31,32,30,63,103} \draw (P-28) -- (P-\n); \foreach[] \n in {30,35,64,104} \draw (P-29) -- (P-\n); \foreach[] \n in {58,60,65,99,105} \draw (P-30) -- (P-\n); \foreach[] \n in {32,62,66} \draw (P-31) -- (P-\n); \foreach[] \n in {78,82,36,67,71,107} \draw (P-32) -- (P-\n); \foreach[] \n in {34,36,37,35,68,78} \draw (P-33) -- (P-\n); \foreach[] \n in {35,83,84,45,69,79} \draw (P-34) -- (P-\n); \foreach[] \n in {64,70} \draw (P-35) -- (P-\n); \foreach[] \n in {37,71} \draw (P-36) -- (P-\n); \foreach[] \n in {43,47,72,82,86} \draw (P-37) -- (P-\n); \foreach[] \n in {42,66,69,70,39,67} \draw (P-38) -- (P-\n); \foreach[] \n in {61,64,65,62,73,79,107} \draw (P-39) -- (P-\n); \foreach[] \n in {} \draw (P-40) -- (P-\n); \foreach[] \n in {} \draw (P-41) -- (P-\n); \foreach[] \n in {44,45,71,72} \draw (P-42) -- (P-\n); \foreach[] \n in {44,47,45,83} \draw (P-43) -- (P-\n); \foreach[] \n in {45,84} \draw (P-44) -- (P-\n); \foreach[] \n in {69} \draw (P-45) -- (P-\n); \foreach[] \n in {} \draw (P-46) -- (P-\n); \foreach[] \n in {51} \draw (P-47) -- (P-\n); \foreach[] \n in {49,51,52,88} \draw (P-48) -- (P-\n); \foreach[] \n in {55} \draw (P-49) -- (P-\n); \foreach[] \n in {} \draw (P-50) -- (P-\n); \foreach[] \n in {52,83,86,91} \draw (P-51) -- (P-\n); \foreach[] \n in {56} \draw (P-52) -- (P-\n); \foreach[] \n in {54,56,55,93} \draw (P-53) -- (P-\n); \foreach[] \n in {55,60} \draw (P-54) -- (P-\n); \foreach[] \n in {88,90,95} \draw (P-55) -- (P-\n); \foreach[] \n in {96} \draw (P-56) -- (P-\n); \foreach[] \n in {} \draw (P-57) -- (P-\n); \foreach[] \n in {61,62,60,98} \draw (P-58) -- (P-\n); \foreach[] \n in {} \draw (P-59) -- (P-\n); \foreach[] \n in {100} \draw (P-60) -- (P-\n); \foreach[] \n in {62,101} \draw (P-61) -- (P-\n); \foreach[] \n in {103,107,66,102} \draw (P-62) -- (P-\n); \foreach[] \n in {64,66,67,65,103} \draw (P-63) -- (P-\n); \foreach[] \n in {65,78,79,70,104} \draw (P-64) -- (P-\n); \foreach[] \n in {105} \draw (P-65) -- (P-\n); \foreach[] \n in {67} \draw (P-66) -- (P-\n); \foreach[] \n in {71,107} \draw (P-67) -- (P-\n); \foreach[] \n in {69,71,72,70,78} \draw (P-68) -- (P-\n); \foreach[] \n in {70,79} \draw (P-69) -- (P-\n); \foreach[] \n in {} \draw (P-70) -- (P-\n); \foreach[] \n in {72} \draw (P-71) -- (P-\n); \foreach[] \n in {82} \draw (P-72) -- (P-\n); \foreach[] \n in {101,104,105,74,102} \draw (P-73) -- (P-\n); \foreach[] \n in {96,99,100,97} \draw (P-74) -- (P-\n); \foreach[] \n in {} \draw (P-75) -- (P-\n); \foreach[] \n in {} \draw (P-76) -- (P-\n); \foreach[] \n in {} \draw (P-77) -- (P-\n); \foreach[] \n in {79,82} \draw (P-78) -- (P-\n); \foreach[] \n in {} \draw (P-79) -- (P-\n); \foreach[] \n in {} \draw (P-80) -- (P-\n); \foreach[] \n in {} \draw (P-81) -- (P-\n); \foreach[] \n in {86} \draw (P-82) -- (P-\n); \foreach[] \n in {84,86} \draw (P-83) -- (P-\n); \foreach[] \n in {90} \draw (P-84) -- (P-\n); \foreach[] \n in {} \draw (P-85) -- (P-\n); \foreach[] \n in {} \draw (P-86) -- (P-\n); \foreach[] \n in {} \draw (P-87) -- (P-\n); \foreach[] \n in {91,90} \draw (P-88) -- (P-\n); \foreach[] \n in {} \draw (P-89) -- (P-\n); \foreach[] \n in {} \draw (P-90) -- (P-\n); \foreach[] \n in {} \draw (P-91) -- (P-\n); \foreach[] \n in {} \draw (P-92) -- (P-\n); \foreach[] \n in {96,97,95} \draw (P-93) -- (P-\n); \foreach[] \n in {} \draw (P-94) -- (P-\n); \foreach[] \n in {} \draw (P-95) -- (P-\n); \foreach[] \n in {97} \draw (P-96) -- (P-\n); \foreach[] \n in {101} \draw (P-97) -- (P-\n); \foreach[] \n in {99,101,102,100} \draw (P-98) -- (P-\n); \foreach[] \n in {100,105} \draw (P-99) -- (P-\n); \foreach[] \n in {} \draw (P-100) -- (P-\n); \foreach[] \n in {102} \draw (P-101) -- (P-\n); \foreach[] \n in {} \draw (P-102) -- (P-\n); \foreach[] \n in {104,107,105} \draw (P-103) -- (P-\n); \foreach[] \n in {105} \draw (P-104) -- (P-\n); \foreach[] \n in {} \draw (P-105) -- (P-\n); \foreach[] \n in {} \draw (P-106) -- (P-\n); \foreach[] \n in {} \draw (P-107) -- (P-\n); % Beschriftung der Streichholzköpfe \foreach \n in {1,...,107} \node[above, BeschriftungsStyle] at (P-\n) {\n}; \end{tikzpicture} $


   Profil
StefanVogel
Senior Letzter Besuch: in der letzten Woche
Dabei seit: 26.11.2005
Mitteilungen: 3969
Wohnort: Raun
  Beitrag No.15, eingetragen 2018-08-26

\quoteon(2018-08-26 18:22 - cis in Beitrag No. 13) \quoteon(2018-08-26 17:59 - StefanVogel in Beitrag No. 12) Klasse! 1. Ich komm nicht nach mit lesen. 2. Die vorderste Tabellenspalte weglassen geht aber. \quoteoff 1. Du brauchst eigentlich nur, meinen letzten Beitrag zu betrachten. \quoteoff Hab ich auch gemacht, doch wo ich damit fertig war, kam der nächste, dann der nächste... Irgendwann war dann doch kurz Luft zum antworten. Die Tabelle der Koordinaten wird auch nicht mehr gebraucht... Ich habe sie jetzt selber in den Programmcode gepackt und schon paar kleine Veränderungen vorgenommen: Punktbezeichnungen mit etwas größerer Schrift rechts oberhalb des Knotens wie bei fedgeo. Die Punktbezeichnungen will ich mit P beginnen, weil man nebeneinanderliegende Punkte 13 und 8 mit 1 und 38 verwechseln kann. Mit dem P wird das wenigstens ganz unleserlich, so dass man die Koordinaten anschauen muss. Die Tabelle ist jetzt auch dreispaltig. Den Punkt P0 habe ich ohne Beschriftung unter Punkt P1 verschwinden lassen. Vorher hatte ich ihn auf die Koordinaten -100000 -100000 verschoben, doch das zählt als "anderer schwerer Fehler". Kann man so sagen, denn ich habe für diese Fehlersuche eine geschlagene Stunde gebraucht. Doch jetzt ist alles gut, hier der Graph aus dem Themenstart $ \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }, }, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[ BeschriftungsStyle/.style={text=black, font=\scriptsize\scriptsize, %ttfamily, % \tiny % \scriptsize } ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=1, y index=2] {% 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 4 -1.85 2.96 5 -2.78 3.32 6 -0.97 3.62 7 -0.27 4.32 8 -0.01 3.36 9 0.70 4.06 10 0.96 3.10 11 1.67 3.81 12 1.34 2.86 13 2.32 3.05 14 1.99 2.10 15 2.97 2.29 16 2.04 1.93 17 2.81 1.30 18 1.88 0.95 19 2.66 0.31 20 1.66 0.43 21 2.06 -0.49 22 1.06 -0.37 23 1.46 -1.29 24 0.96 -0.42 25 0.46 -1.28 26 -0.04 -0.41 27 -0.54 -1.28 28 -1.04 -0.41 29 -1.54 -1.27 30 -1.16 -0.35 31 -2.15 -0.48 32 -1.77 0.44 33 -2.76 0.32 34 -1.90 0.82 35 -2.77 1.32 36 -1.90 1.82 37 -2.77 2.32 38 -1.91 2.82 39 -0.77 0.57 40 -1.16 1.50 41 -0.08 -0.14 42 0.66 0.54 43 -0.97 2.48 44 -0.30 0.83 45 -0.81 2.63 46 1.01 1.92 47 1.10 1.58 48 0.18 2.48 49 -0.21 1.83 50 0.11 1.48 51 0.69 0.67 }; \end{axis} % Beschriftung der Streichholzköpfe \foreach[evaluate={\N=int(\n+1)}] \n in {1,...,51} \node[above right, BeschriftungsStyle] at (P-\n) {P\N}; % Zeichnen der Linienzüge %\foreach \n in {3,2,5,2,6,4,1} \draw[] (P-0) -- (P-\n); %\foreach \n in {6,8,4} \draw[blue] (P-5) -- (P-\n); \foreach[] \n in {1} \draw (P-2) -- (P-\n); \foreach[] \n in {1,2} \draw (P-3) -- (P-\n); \foreach[] \n in {3,2,43} \draw (P-4) -- (P-\n); \foreach[] \n in {4,2,37} \draw (P-5) -- (P-\n); \foreach[] \n in {1} \draw (P-6) -- (P-\n); \foreach[] \n in {1,6} \draw (P-7) -- (P-\n); \foreach[] \n in {7,6} \draw (P-8) -- (P-\n); \foreach[] \n in {7,8} \draw (P-9) -- (P-\n); \foreach[] \n in {9,8} \draw (P-10) -- (P-\n); \foreach[] \n in {9,10} \draw (P-11) -- (P-\n); \foreach[] \n in {11} \draw (P-12) -- (P-\n); \foreach[] \n in {11,12} \draw (P-13) -- (P-\n); \foreach[] \n in {13,12} \draw (P-14) -- (P-\n); \foreach[] \n in {13,14} \draw (P-15) -- (P-\n); \foreach[] \n in {15} \draw (P-16) -- (P-\n); \foreach[] \n in {15,16} \draw (P-17) -- (P-\n); \foreach[] \n in {17,16} \draw (P-18) -- (P-\n); \foreach[] \n in {17,18} \draw (P-19) -- (P-\n); \foreach[] \n in {19} \draw (P-20) -- (P-\n); \foreach[] \n in {19,20} \draw (P-21) -- (P-\n); \foreach[] \n in {21,20} \draw (P-22) -- (P-\n); \foreach[] \n in {21,22} \draw (P-23) -- (P-\n); \foreach[] \n in {23} \draw (P-24) -- (P-\n); \foreach[] \n in {23,24} \draw (P-25) -- (P-\n); \foreach[] \n in {25,24} \draw (P-26) -- (P-\n); \foreach[] \n in {25,26} \draw (P-27) -- (P-\n); \foreach[] \n in {27,26} \draw (P-28) -- (P-\n); \foreach[] \n in {27,28,31} \draw (P-29) -- (P-\n); \foreach[] \n in {31,29} \draw (P-30) -- (P-\n); \foreach[] \n in {33} \draw (P-31) -- (P-\n); \foreach[] \n in {33,31,30} \draw (P-32) -- (P-\n); \foreach[] \n in {} \draw (P-33) -- (P-\n); \foreach[] \n in {35,33,36} \draw (P-34) -- (P-\n); \foreach[] \n in {33} \draw (P-35) -- (P-\n); \foreach[] \n in {37,35,38} \draw (P-36) -- (P-\n); \foreach[] \n in {35} \draw (P-37) -- (P-\n); \foreach[] \n in {5,37} \draw (P-38) -- (P-\n); \foreach[] \n in {32,30} \draw (P-39) -- (P-\n); \foreach[] \n in {34,39} \draw (P-40) -- (P-\n); \foreach[] \n in {39,28} \draw (P-41) -- (P-\n); \foreach[] \n in {41,24,22} \draw (P-42) -- (P-\n); \foreach[] \n in {38,40} \draw (P-43) -- (P-\n); \foreach[] \n in {41,42,49,51} \draw (P-44) -- (P-\n); \foreach[] \n in {6,3} \draw (P-45) -- (P-\n); \foreach[] \n in {14,12,48} \draw (P-46) -- (P-\n); \foreach[] \n in {18,16} \draw (P-47) -- (P-\n); \foreach[] \n in {10,45,50} \draw (P-48) -- (P-\n); \foreach[] \n in {45,43,40} \draw (P-49) -- (P-\n); \foreach[] \n in {47,46,51} \draw (P-50) -- (P-\n); \foreach[] \n in {20,47} \draw (P-51) -- (P-\n); %Eingabe war: % % %Fast 4/4 mit 102 % % % % % % % % %P[1]=[-85.28415361812269,317.23375151269886]; %P[2]=[-138.9111227213231,273.422822948422]; D=ab(1,2); A(2,1); L(3,1,2); %L(4,3,2); L(5,4,2); %M(6,1,3,blauerWinkel,3); M(12,11,10,gruenerWinkel,2); %M(16,15,14,orange_angle,2); M(20,19,18,fourth_angle,2); %M(24,23,22,fifth_angle,3,"zumachen",5,2,3); % %N(39,32,30); N(40,34,39); N(41,39,28); N(42,41,24); N(43,38,40); N(44,41,42); %N(45,6,3); %N(46,14,12); N(47,18,16); N(48,10,45); N(49,45,43); N(50,47,46); N(51,20,47); % %RA(46,48); RA(50,51); %RA(49,40); RA(48,50); %RA(44,49); RA(44,51); %RA(4,43); RA(42,22); % % % %Ende der Eingabe. \end{tikzpicture} $. Die Koordinatentabelle kann man herauskopieren, wenn man den Graph mit den Kursor markiert und dann in eine Textdatei kopiert, oder auf "Quote" unter dem Beitrag klicken, oder im aktualisierten Streichholzgraph-981.htm in der untersten Zeile den Button "pgfplot" (muss noch ein "s" dran) drücken. Im Graph gibt es noch einiges zu ergänzen, farbige Kanten für unpassende Kanten, Winkel... doch es stehen auch viele Möglichkeiten offen. Ich danke dir cis :-)


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.16, vom Themenstarter, eingetragen 2018-08-27

Nach dem Augen-Schock von Beitrag #2, #6 und #8 muss ich sagen, dass das jetzt sehr gut aussieht. Diese TikZ Darstellung werde ich auch in unseren Artikeln verwenden. Schon komisch - wäre die fehlerhafte Ddarstellung im fed nicht aufgetreten, hätte ich nie diesen Thread gestartet. Danke cis und Stefan! :-)


   Profil
Ex_Senior
  Beitrag No.17, eingetragen 2018-08-27

\quoteon(2018-08-27 02:01 - Slash in Beitrag No. 16) Nach dem Augen-Schock von Beitrag #2, #6 und #8 muss ich sagen, dass das jetzt sehr gut aussieht. \quoteoff Es kann nicht gleich alles perfekt sein; es gibt erstmal viele Baustellen. Der TikZer sieht schon das Ergebnis, er hat den absoluten Nullblick. \quoteon(2018-08-26 22:49 - StefanVogel in Beitrag No. 15) $ \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }, }, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[ BeschriftungsStyle/.style={text=black, font=\scriptsize, %ttfamily, % \tiny % \scriptsize } ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=1, y index=2] {% 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 4 -1.85 2.96 5 -2.78 3.32 6 -0.97 3.62 7 -0.27 4.32 8 -0.01 3.36 9 0.70 4.06 10 0.96 3.10 11 1.67 3.81 12 1.34 2.86 13 2.32 3.05 14 1.99 2.10 15 2.97 2.29 16 2.04 1.93 17 2.81 1.30 18 1.88 0.95 19 2.66 0.31 20 1.66 0.43 21 2.06 -0.49 22 1.06 -0.37 23 1.46 -1.29 24 0.96 -0.42 25 0.46 -1.28 26 -0.04 -0.41 27 -0.54 -1.28 28 -1.04 -0.41 29 -1.54 -1.27 30 -1.16 -0.35 31 -2.15 -0.48 32 -1.77 0.44 33 -2.76 0.32 34 -1.90 0.82 35 -2.77 1.32 36 -1.90 1.82 37 -2.77 2.32 38 -1.91 2.82 39 -0.77 0.57 40 -1.16 1.50 41 -0.08 -0.14 42 0.66 0.54 43 -0.97 2.48 44 -0.30 0.83 45 -0.81 2.63 46 1.01 1.92 47 1.10 1.58 48 0.18 2.48 49 -0.21 1.83 50 0.11 1.48 51 0.69 0.67 }; \end{axis} % Beschriftung der Streichholzköpfe \foreach[evaluate={\N=int(\n+1)}] \n in {1,...,51} \node[above right, BeschriftungsStyle] at (P-\n) {P\N}; % Zeichnen der Linienzüge %\foreach \n in {3,2,5,2,6,4,1} \draw[] (P-0) -- (P-\n); %\foreach \n in {6,8,4} \draw[blue] (P-5) -- (P-\n); \foreach[] \n in {1} \draw (P-2) -- (P-\n); \foreach[] \n in {1,2} \draw (P-3) -- (P-\n); \foreach[] \n in {3,2,43} \draw (P-4) -- (P-\n); \foreach[] \n in {4,2,37} \draw (P-5) -- (P-\n); \foreach[] \n in {1} \draw (P-6) -- (P-\n); \foreach[] \n in {1,6} \draw (P-7) -- (P-\n); \foreach[] \n in {7,6} \draw (P-8) -- (P-\n); \foreach[] \n in {7,8} \draw (P-9) -- (P-\n); \foreach[] \n in {9,8} \draw (P-10) -- (P-\n); \foreach[] \n in {9,10} \draw (P-11) -- (P-\n); \foreach[] \n in {11} \draw (P-12) -- (P-\n); \foreach[] \n in {11,12} \draw (P-13) -- (P-\n); \foreach[] \n in {13,12} \draw (P-14) -- (P-\n); \foreach[] \n in {13,14} \draw (P-15) -- (P-\n); \foreach[] \n in {15} \draw (P-16) -- (P-\n); \foreach[] \n in {15,16} \draw (P-17) -- (P-\n); \foreach[] \n in {17,16} \draw (P-18) -- (P-\n); \foreach[] \n in {17,18} \draw (P-19) -- (P-\n); \foreach[] \n in {19} \draw (P-20) -- (P-\n); \foreach[] \n in {19,20} \draw (P-21) -- (P-\n); \foreach[] \n in {21,20} \draw (P-22) -- (P-\n); \foreach[] \n in {21,22} \draw (P-23) -- (P-\n); \foreach[] \n in {23} \draw (P-24) -- (P-\n); \foreach[] \n in {23,24} \draw (P-25) -- (P-\n); \foreach[] \n in {25,24} \draw (P-26) -- (P-\n); \foreach[] \n in {25,26} \draw (P-27) -- (P-\n); \foreach[] \n in {27,26} \draw (P-28) -- (P-\n); \foreach[] \n in {27,28,31} \draw (P-29) -- (P-\n); \foreach[] \n in {31,29} \draw (P-30) -- (P-\n); \foreach[] \n in {33} \draw (P-31) -- (P-\n); \foreach[] \n in {33,31,30} \draw (P-32) -- (P-\n); \foreach[] \n in {} \draw (P-33) -- (P-\n); \foreach[] \n in {35,33,36} \draw (P-34) -- (P-\n); \foreach[] \n in {33} \draw (P-35) -- (P-\n); \foreach[] \n in {37,35,38} \draw (P-36) -- (P-\n); \foreach[] \n in {35} \draw (P-37) -- (P-\n); \foreach[] \n in {5,37} \draw (P-38) -- (P-\n); \foreach[] \n in {32,30} \draw (P-39) -- (P-\n); \foreach[] \n in {34,39} \draw (P-40) -- (P-\n); \foreach[] \n in {39,28} \draw (P-41) -- (P-\n); \foreach[] \n in {41,24,22} \draw (P-42) -- (P-\n); \foreach[] \n in {38,40} \draw (P-43) -- (P-\n); \foreach[] \n in {41,42,49,51} \draw (P-44) -- (P-\n); \foreach[] \n in {6,3} \draw (P-45) -- (P-\n); \foreach[] \n in {14,12,48} \draw (P-46) -- (P-\n); \foreach[] \n in {18,16} \draw (P-47) -- (P-\n); \foreach[] \n in {10,45,50} \draw (P-48) -- (P-\n); \foreach[] \n in {45,43,40} \draw (P-49) -- (P-\n); \foreach[] \n in {47,46,51} \draw (P-50) -- (P-\n); \foreach[] \n in {20,47} \draw (P-51) -- (P-\n); %Eingabe war: % % %Fast 4/4 mit 102 % % % % % % % % %P[1]=[-85.28415361812269,317.23375151269886]; %P[2]=[-138.9111227213231,273.422822948422]; D=ab(1,2); A(2,1); L(3,1,2); %L(4,3,2); L(5,4,2); %M(6,1,3,blauerWinkel,3); M(12,11,10,gruenerWinkel,2); %M(16,15,14,orange_angle,2); M(20,19,18,fourth_angle,2); %M(24,23,22,fifth_angle,3,"zumachen",5,2,3); % %N(39,32,30); N(40,34,39); N(41,39,28); N(42,41,24); N(43,38,40); N(44,41,42); %N(45,6,3); %N(46,14,12); N(47,18,16); N(48,10,45); N(49,45,43); N(50,47,46); N(51,20,47); % %RA(46,48); RA(50,51); %RA(49,40); RA(48,50); %RA(44,49); RA(44,51); %RA(4,43); RA(42,22); % % % %Ende der Eingabe. \end{tikzpicture} $ \quoteoff In #15 dürfte noch ein kleinerer Fehler sein: Wenn die Datentabelle so aussieht \sourceon 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 .... \sourceoff so dass die oberste Zeile eine Aliaszeile mit Fantasiewerten ist (sinnvollerweise Kopie der ersten echten Zeile, damit sich am Zeichenbereich nichts ändert), können alle Punkte -wie gewohnt- mit P1, P2, P3,... bezeichnet werden; im TikZ: \sourceon (latex) \foreach \n in {1,...,51} \node[above right, BeschriftungStyle] at (P-\n) {P\n}; \sourceoff (also beginnend bei 1 bis 51). Wenn die Beschriftung wichtig ist, kann man die Kanten z.B. dunkelgrau zeichnen: \sourceon (latex) BeschriftungStyle/.style={text=black, font=\scriptsize, %ttfamily, % \tiny % \scriptsize }, KantenStyle/.style={draw=gray!60!black, thick }, every path/.style={KantenStyle}, \sourceoff und die Beschriftungsschleife sollte dann als letztes im Code auftreten (damit Text die Kanten überzeichnet, nicht umgekehrt) Da sich manche Beschriftungen überlappen, kann man einen Feinschliff vornehmen; etwa: \sourceon (latex) % Beschriftung der Streichholzköpfe \foreach \n in {1,...,51}{%% \ifnum\n=28 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \ifnum\n=24 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \node[above right, BeschriftungStyle] at (P-\n) {P\n}; \fi\fi% }%% % .... UNDSOWEITER..... \sourceoff Das 'blue' kann wieder raus; ich empfehle statt 'above right' nur 'above'; und nur 'below' bei Überlappungen. Hinweis: Wenn man sich konsequent an diese Empfehlung hält, kann auch das 'P' bei 'P1,P2,P3,...' raus, also nur '1,2,3,...' da 'P' dann keine zusätzliche Information mehr liefert. Der Code sieht jetzt also vollständig so aus: $ \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }}, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[ BeschriftungStyle/.style={text=black, font=\scriptsize, %ttfamily, % \tiny % \scriptsize }, KantenStyle/.style={draw=gray!60!black, thick }, every path/.style={KantenStyle}, ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=1, y index=2] {% 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 4 -1.85 2.96 5 -2.78 3.32 6 -0.97 3.62 7 -0.27 4.32 8 -0.01 3.36 9 0.70 4.06 10 0.96 3.10 11 1.67 3.81 12 1.34 2.86 13 2.32 3.05 14 1.99 2.10 15 2.97 2.29 16 2.04 1.93 17 2.81 1.30 18 1.88 0.95 19 2.66 0.31 20 1.66 0.43 21 2.06 -0.49 22 1.06 -0.37 23 1.46 -1.29 24 0.96 -0.42 25 0.46 -1.28 26 -0.04 -0.41 27 -0.54 -1.28 28 -1.04 -0.41 29 -1.54 -1.27 30 -1.16 -0.35 31 -2.15 -0.48 32 -1.77 0.44 33 -2.76 0.32 34 -1.90 0.82 35 -2.77 1.32 36 -1.90 1.82 37 -2.77 2.32 38 -1.91 2.82 39 -0.77 0.57 40 -1.16 1.50 41 -0.08 -0.14 42 0.66 0.54 43 -0.97 2.48 44 -0.30 0.83 45 -0.81 2.63 46 1.01 1.92 47 1.10 1.58 48 0.18 2.48 49 -0.21 1.83 50 0.11 1.48 51 0.69 0.67 }; \end{axis} % Zeichnen der Linienzüge \foreach \n in {1} \draw (P-2) -- (P-\n); \foreach \n in {1,2} \draw (P-3) -- (P-\n); \foreach \n in {3,2,43} \draw (P-4) -- (P-\n); \foreach \n in {4,2,37} \draw (P-5) -- (P-\n); \foreach \n in {1} \draw (P-6) -- (P-\n); \foreach \n in {1,6} \draw (P-7) -- (P-\n); \foreach \n in {7,6} \draw (P-8) -- (P-\n); \foreach \n in {7,8} \draw (P-9) -- (P-\n); \foreach \n in {9,8} \draw (P-10) -- (P-\n); \foreach \n in {9,10} \draw (P-11) -- (P-\n); \foreach \n in {11} \draw (P-12) -- (P-\n); \foreach \n in {11,12} \draw (P-13) -- (P-\n); \foreach \n in {13,12} \draw (P-14) -- (P-\n); \foreach \n in {13,14} \draw (P-15) -- (P-\n); \foreach \n in {15} \draw (P-16) -- (P-\n); \foreach \n in {15,16} \draw (P-17) -- (P-\n); \foreach \n in {17,16} \draw (P-18) -- (P-\n); \foreach \n in {17,18} \draw (P-19) -- (P-\n); \foreach \n in {19} \draw (P-20) -- (P-\n); \foreach \n in {19,20} \draw (P-21) -- (P-\n); \foreach \n in {21,20} \draw (P-22) -- (P-\n); \foreach \n in {21,22} \draw (P-23) -- (P-\n); \foreach \n in {23} \draw (P-24) -- (P-\n); \foreach \n in {23,24} \draw (P-25) -- (P-\n); \foreach \n in {25,24} \draw (P-26) -- (P-\n); \foreach \n in {25,26} \draw (P-27) -- (P-\n); \foreach \n in {27,26} \draw (P-28) -- (P-\n); \foreach \n in {27,28,31} \draw (P-29) -- (P-\n); \foreach \n in {31,29} \draw (P-30) -- (P-\n); \foreach \n in {33} \draw (P-31) -- (P-\n); \foreach \n in {33,31,30} \draw (P-32) -- (P-\n); \foreach \n in {} \draw (P-33) -- (P-\n); \foreach \n in {35,33,36} \draw (P-34) -- (P-\n); \foreach \n in {33} \draw (P-35) -- (P-\n); \foreach \n in {37,35,38} \draw (P-36) -- (P-\n); \foreach \n in {35} \draw (P-37) -- (P-\n); \foreach \n in {5,37} \draw (P-38) -- (P-\n); \foreach \n in {32,30} \draw (P-39) -- (P-\n); \foreach \n in {34,39} \draw (P-40) -- (P-\n); \foreach \n in {39,28} \draw (P-41) -- (P-\n); \foreach \n in {41,24,22} \draw (P-42) -- (P-\n); \foreach \n in {38,40} \draw (P-43) -- (P-\n); \foreach \n in {41,42,49,51} \draw (P-44) -- (P-\n); \foreach \n in {6,3} \draw (P-45) -- (P-\n); \foreach \n in {14,12,48} \draw (P-46) -- (P-\n); \foreach \n in {18,16} \draw (P-47) -- (P-\n); \foreach \n in {10,45,50} \draw (P-48) -- (P-\n); \foreach \n in {45,43,40} \draw (P-49) -- (P-\n); \foreach \n in {47,46,51} \draw (P-50) -- (P-\n); \foreach \n in {20,47} \draw (P-51) -- (P-\n); % Beschriftung der Streichholzköpfe \foreach \n in {1,...,51}{%% \ifnum\n=28 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \ifnum\n=24 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \node[above right, BeschriftungStyle] at (P-\n) {P\n}; \fi\fi% }%% \end{tikzpicture} $ \sourceon latex \documentclass[margin=5mm, tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }}, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[ BeschriftungStyle/.style={text=black, font=\scriptsize, %ttfamily, % \tiny % \scriptsize }, KantenStyle/.style={draw=gray!60!black, thick }, every path/.style={KantenStyle}, ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=1, y index=2] {% 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 4 -1.85 2.96 5 -2.78 3.32 6 -0.97 3.62 7 -0.27 4.32 8 -0.01 3.36 9 0.70 4.06 10 0.96 3.10 11 1.67 3.81 12 1.34 2.86 13 2.32 3.05 14 1.99 2.10 15 2.97 2.29 16 2.04 1.93 17 2.81 1.30 18 1.88 0.95 19 2.66 0.31 20 1.66 0.43 21 2.06 -0.49 22 1.06 -0.37 23 1.46 -1.29 24 0.96 -0.42 25 0.46 -1.28 26 -0.04 -0.41 27 -0.54 -1.28 28 -1.04 -0.41 29 -1.54 -1.27 30 -1.16 -0.35 31 -2.15 -0.48 32 -1.77 0.44 33 -2.76 0.32 34 -1.90 0.82 35 -2.77 1.32 36 -1.90 1.82 37 -2.77 2.32 38 -1.91 2.82 39 -0.77 0.57 40 -1.16 1.50 41 -0.08 -0.14 42 0.66 0.54 43 -0.97 2.48 44 -0.30 0.83 45 -0.81 2.63 46 1.01 1.92 47 1.10 1.58 48 0.18 2.48 49 -0.21 1.83 50 0.11 1.48 51 0.69 0.67 }; \end{axis} % Zeichnen der Linienzüge \foreach \n in {1} \draw (P-2) -- (P-\n); \foreach \n in {1,2} \draw (P-3) -- (P-\n); \foreach \n in {3,2,43} \draw (P-4) -- (P-\n); \foreach \n in {4,2,37} \draw (P-5) -- (P-\n); \foreach \n in {1} \draw (P-6) -- (P-\n); \foreach \n in {1,6} \draw (P-7) -- (P-\n); \foreach \n in {7,6} \draw (P-8) -- (P-\n); \foreach \n in {7,8} \draw (P-9) -- (P-\n); \foreach \n in {9,8} \draw (P-10) -- (P-\n); \foreach \n in {9,10} \draw (P-11) -- (P-\n); \foreach \n in {11} \draw (P-12) -- (P-\n); \foreach \n in {11,12} \draw (P-13) -- (P-\n); \foreach \n in {13,12} \draw (P-14) -- (P-\n); \foreach \n in {13,14} \draw (P-15) -- (P-\n); \foreach \n in {15} \draw (P-16) -- (P-\n); \foreach \n in {15,16} \draw (P-17) -- (P-\n); \foreach \n in {17,16} \draw (P-18) -- (P-\n); \foreach \n in {17,18} \draw (P-19) -- (P-\n); \foreach \n in {19} \draw (P-20) -- (P-\n); \foreach \n in {19,20} \draw (P-21) -- (P-\n); \foreach \n in {21,20} \draw (P-22) -- (P-\n); \foreach \n in {21,22} \draw (P-23) -- (P-\n); \foreach \n in {23} \draw (P-24) -- (P-\n); \foreach \n in {23,24} \draw (P-25) -- (P-\n); \foreach \n in {25,24} \draw (P-26) -- (P-\n); \foreach \n in {25,26} \draw (P-27) -- (P-\n); \foreach \n in {27,26} \draw (P-28) -- (P-\n); \foreach \n in {27,28,31} \draw (P-29) -- (P-\n); \foreach \n in {31,29} \draw (P-30) -- (P-\n); \foreach \n in {33} \draw (P-31) -- (P-\n); \foreach \n in {33,31,30} \draw (P-32) -- (P-\n); \foreach \n in {} \draw (P-33) -- (P-\n); \foreach \n in {35,33,36} \draw (P-34) -- (P-\n); \foreach \n in {33} \draw (P-35) -- (P-\n); \foreach \n in {37,35,38} \draw (P-36) -- (P-\n); \foreach \n in {35} \draw (P-37) -- (P-\n); \foreach \n in {5,37} \draw (P-38) -- (P-\n); \foreach \n in {32,30} \draw (P-39) -- (P-\n); \foreach \n in {34,39} \draw (P-40) -- (P-\n); \foreach \n in {39,28} \draw (P-41) -- (P-\n); \foreach \n in {41,24,22} \draw (P-42) -- (P-\n); \foreach \n in {38,40} \draw (P-43) -- (P-\n); \foreach \n in {41,42,49,51} \draw (P-44) -- (P-\n); \foreach \n in {6,3} \draw (P-45) -- (P-\n); \foreach \n in {14,12,48} \draw (P-46) -- (P-\n); \foreach \n in {18,16} \draw (P-47) -- (P-\n); \foreach \n in {10,45,50} \draw (P-48) -- (P-\n); \foreach \n in {45,43,40} \draw (P-49) -- (P-\n); \foreach \n in {47,46,51} \draw (P-50) -- (P-\n); \foreach \n in {20,47} \draw (P-51) -- (P-\n); % Beschriftung der Streichholzköpfe \foreach \n in {1,...,51}{%% \ifnum\n=28 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \ifnum\n=24 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \node[above right, BeschriftungStyle] at (P-\n) {P\n}; \fi\fi% }%% \end{tikzpicture} \end{document} \sourceoff


   Profil
Ex_Senior
  Beitrag No.18, eingetragen 2018-08-27

Wenn man sich an die Empfehlungen aus #17 hält, sieht das Ergebnis so aus: $ % \usetikzlibrary{backgrounds} \tikzstyle{background rectangle}= [fill=black!1, rounded corners, draw=lightgray] \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }}, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[show background rectangle, BeschriftungStyle/.style={text=black, font=\scriptsize\bfseries, %ttfamily, % \tiny % \scriptsize }, KantenStyle/.style={draw=gray!90!black, thick }, every path/.style={KantenStyle}, ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=1, y index=2] {% 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 4 -1.85 2.96 5 -2.78 3.32 6 -0.97 3.62 7 -0.27 4.32 8 -0.01 3.36 9 0.70 4.06 10 0.96 3.10 11 1.67 3.81 12 1.34 2.86 13 2.32 3.05 14 1.99 2.10 15 2.97 2.29 16 2.04 1.93 17 2.81 1.30 18 1.88 0.95 19 2.66 0.31 20 1.66 0.43 21 2.06 -0.49 22 1.06 -0.37 23 1.46 -1.29 24 0.96 -0.42 25 0.46 -1.28 26 -0.04 -0.41 27 -0.54 -1.28 28 -1.04 -0.41 29 -1.54 -1.27 30 -1.16 -0.35 31 -2.15 -0.48 32 -1.77 0.44 33 -2.76 0.32 34 -1.90 0.82 35 -2.77 1.32 36 -1.90 1.82 37 -2.77 2.32 38 -1.91 2.82 39 -0.77 0.57 40 -1.16 1.50 41 -0.08 -0.14 42 0.66 0.54 43 -0.97 2.48 44 -0.30 0.83 45 -0.81 2.63 46 1.01 1.92 47 1.10 1.58 48 0.18 2.48 49 -0.21 1.83 50 0.11 1.48 51 0.69 0.67 }; \end{axis} % Zeichnen der Linienzüge \foreach \n in {1} \draw (P-2) -- (P-\n); \foreach \n in {1,2} \draw (P-3) -- (P-\n); \foreach \n in {3,2,43} \draw (P-4) -- (P-\n); \foreach \n in {4,2,37} \draw (P-5) -- (P-\n); \foreach \n in {1} \draw (P-6) -- (P-\n); \foreach \n in {1,6} \draw (P-7) -- (P-\n); \foreach \n in {7,6} \draw (P-8) -- (P-\n); \foreach \n in {7,8} \draw (P-9) -- (P-\n); \foreach \n in {9,8} \draw (P-10) -- (P-\n); \foreach \n in {9,10} \draw (P-11) -- (P-\n); \foreach \n in {11} \draw (P-12) -- (P-\n); \foreach \n in {11,12} \draw (P-13) -- (P-\n); \foreach \n in {13,12} \draw (P-14) -- (P-\n); \foreach \n in {13,14} \draw (P-15) -- (P-\n); \foreach \n in {15} \draw (P-16) -- (P-\n); \foreach \n in {15,16} \draw (P-17) -- (P-\n); \foreach \n in {17,16} \draw (P-18) -- (P-\n); \foreach \n in {17,18} \draw (P-19) -- (P-\n); \foreach \n in {19} \draw (P-20) -- (P-\n); \foreach \n in {19,20} \draw (P-21) -- (P-\n); \foreach \n in {21,20} \draw (P-22) -- (P-\n); \foreach \n in {21,22} \draw (P-23) -- (P-\n); \foreach \n in {23} \draw (P-24) -- (P-\n); \foreach \n in {23,24} \draw (P-25) -- (P-\n); \foreach \n in {25,24} \draw (P-26) -- (P-\n); \foreach \n in {25,26} \draw (P-27) -- (P-\n); \foreach \n in {27,26} \draw (P-28) -- (P-\n); \foreach \n in {27,28,31} \draw (P-29) -- (P-\n); \foreach \n in {31,29} \draw (P-30) -- (P-\n); \foreach \n in {33} \draw (P-31) -- (P-\n); \foreach \n in {33,31,30} \draw (P-32) -- (P-\n); \foreach \n in {} \draw (P-33) -- (P-\n); \foreach \n in {35,33,36} \draw (P-34) -- (P-\n); \foreach \n in {33} \draw (P-35) -- (P-\n); \foreach \n in {37,35,38} \draw (P-36) -- (P-\n); \foreach \n in {35} \draw (P-37) -- (P-\n); \foreach \n in {5,37} \draw (P-38) -- (P-\n); \foreach \n in {32,30} \draw (P-39) -- (P-\n); \foreach \n in {34,39} \draw (P-40) -- (P-\n); \foreach \n in {39,28} \draw (P-41) -- (P-\n); \foreach \n in {41,24,22} \draw (P-42) -- (P-\n); \foreach \n in {38,40} \draw (P-43) -- (P-\n); \foreach \n in {41,42,49,51} \draw (P-44) -- (P-\n); \foreach \n in {6,3} \draw (P-45) -- (P-\n); \foreach \n in {14,12,48} \draw (P-46) -- (P-\n); \foreach \n in {18,16} \draw (P-47) -- (P-\n); \foreach \n in {10,45,50} \draw (P-48) -- (P-\n); \foreach \n in {45,43,40} \draw (P-49) -- (P-\n); \foreach \n in {47,46,51} \draw (P-50) -- (P-\n); \foreach \n in {20,47} \draw (P-51) -- (P-\n); % Beschriftung der Streichholzköpfe \foreach \n in {1,...,51}{%% \ifnum\n=3 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=16 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=28 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=24 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=38 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=42 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \node[above, BeschriftungStyle] at (P-\n) {\n}; \fi\fi\fi\fi\fi\fi% }%% \end{tikzpicture} $ \sourceon latex \documentclass[margin=5mm, tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{backgrounds} \tikzstyle{background rectangle}= [fill=black!1, rounded corners, draw=lightgray] \pgfplotsset{compat=1.13, name nodes near coords/.style={ every node near coord/.append style={ name=#1-\coordindex, % alias=#1-last, anchor=center, inner sep=0pt, outer sep=0.5pt, }}, name nodes near coords/.default=coordnode } \begin{document} \begin{tikzpicture}[show background rectangle, BeschriftungStyle/.style={text=black, font=\scriptsize\bfseries, %ttfamily, % \tiny % \scriptsize }, KantenStyle/.style={draw=gray!90!black, thick }, every path/.style={KantenStyle}, ] \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] % Punkte \addplot+ [name nodes near coords=P, nodes near coords={}, % Leere node setzen only marks, mark options={red}, mark size=1.125pt, ] table[header=false, x index=1, y index=2] {% 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 4 -1.85 2.96 5 -2.78 3.32 6 -0.97 3.62 7 -0.27 4.32 8 -0.01 3.36 9 0.70 4.06 10 0.96 3.10 11 1.67 3.81 12 1.34 2.86 13 2.32 3.05 14 1.99 2.10 15 2.97 2.29 16 2.04 1.93 17 2.81 1.30 18 1.88 0.95 19 2.66 0.31 20 1.66 0.43 21 2.06 -0.49 22 1.06 -0.37 23 1.46 -1.29 24 0.96 -0.42 25 0.46 -1.28 26 -0.04 -0.41 27 -0.54 -1.28 28 -1.04 -0.41 29 -1.54 -1.27 30 -1.16 -0.35 31 -2.15 -0.48 32 -1.77 0.44 33 -2.76 0.32 34 -1.90 0.82 35 -2.77 1.32 36 -1.90 1.82 37 -2.77 2.32 38 -1.91 2.82 39 -0.77 0.57 40 -1.16 1.50 41 -0.08 -0.14 42 0.66 0.54 43 -0.97 2.48 44 -0.30 0.83 45 -0.81 2.63 46 1.01 1.92 47 1.10 1.58 48 0.18 2.48 49 -0.21 1.83 50 0.11 1.48 51 0.69 0.67 }; \end{axis} % Zeichnen der Linienzüge \foreach \n in {1} \draw (P-2) -- (P-\n); \foreach \n in {1,2} \draw (P-3) -- (P-\n); \foreach \n in {3,2,43} \draw (P-4) -- (P-\n); \foreach \n in {4,2,37} \draw (P-5) -- (P-\n); \foreach \n in {1} \draw (P-6) -- (P-\n); \foreach \n in {1,6} \draw (P-7) -- (P-\n); \foreach \n in {7,6} \draw (P-8) -- (P-\n); \foreach \n in {7,8} \draw (P-9) -- (P-\n); \foreach \n in {9,8} \draw (P-10) -- (P-\n); \foreach \n in {9,10} \draw (P-11) -- (P-\n); \foreach \n in {11} \draw (P-12) -- (P-\n); \foreach \n in {11,12} \draw (P-13) -- (P-\n); \foreach \n in {13,12} \draw (P-14) -- (P-\n); \foreach \n in {13,14} \draw (P-15) -- (P-\n); \foreach \n in {15} \draw (P-16) -- (P-\n); \foreach \n in {15,16} \draw (P-17) -- (P-\n); \foreach \n in {17,16} \draw (P-18) -- (P-\n); \foreach \n in {17,18} \draw (P-19) -- (P-\n); \foreach \n in {19} \draw (P-20) -- (P-\n); \foreach \n in {19,20} \draw (P-21) -- (P-\n); \foreach \n in {21,20} \draw (P-22) -- (P-\n); \foreach \n in {21,22} \draw (P-23) -- (P-\n); \foreach \n in {23} \draw (P-24) -- (P-\n); \foreach \n in {23,24} \draw (P-25) -- (P-\n); \foreach \n in {25,24} \draw (P-26) -- (P-\n); \foreach \n in {25,26} \draw (P-27) -- (P-\n); \foreach \n in {27,26} \draw (P-28) -- (P-\n); \foreach \n in {27,28,31} \draw (P-29) -- (P-\n); \foreach \n in {31,29} \draw (P-30) -- (P-\n); \foreach \n in {33} \draw (P-31) -- (P-\n); \foreach \n in {33,31,30} \draw (P-32) -- (P-\n); \foreach \n in {} \draw (P-33) -- (P-\n); \foreach \n in {35,33,36} \draw (P-34) -- (P-\n); \foreach \n in {33} \draw (P-35) -- (P-\n); \foreach \n in {37,35,38} \draw (P-36) -- (P-\n); \foreach \n in {35} \draw (P-37) -- (P-\n); \foreach \n in {5,37} \draw (P-38) -- (P-\n); \foreach \n in {32,30} \draw (P-39) -- (P-\n); \foreach \n in {34,39} \draw (P-40) -- (P-\n); \foreach \n in {39,28} \draw (P-41) -- (P-\n); \foreach \n in {41,24,22} \draw (P-42) -- (P-\n); \foreach \n in {38,40} \draw (P-43) -- (P-\n); \foreach \n in {41,42,49,51} \draw (P-44) -- (P-\n); \foreach \n in {6,3} \draw (P-45) -- (P-\n); \foreach \n in {14,12,48} \draw (P-46) -- (P-\n); \foreach \n in {18,16} \draw (P-47) -- (P-\n); \foreach \n in {10,45,50} \draw (P-48) -- (P-\n); \foreach \n in {45,43,40} \draw (P-49) -- (P-\n); \foreach \n in {47,46,51} \draw (P-50) -- (P-\n); \foreach \n in {20,47} \draw (P-51) -- (P-\n); % Beschriftung der Streichholzköpfe \foreach \n in {1,...,51}{%% \ifnum\n=3 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=16 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=28 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=24 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=38 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \ifnum\n=42 \node[below, BeschriftungStyle] at (P-\n) {\n};% \else \node[above, BeschriftungStyle] at (P-\n) {\n}; \fi\fi\fi\fi\fi\fi% }%% \end{tikzpicture} \end{document} \sourceoff


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.19, vom Themenstarter, eingetragen 2018-08-27

Falls im Graphen zwei Knotenbeschriftungen zu eng beieinander stehen, kann man sie doch bestimmt auch manuell anpassen, oder?


   Profil
Ex_Senior
  Beitrag No.20, eingetragen 2018-08-27

\quoteon(2018-08-27 04:05 - Slash in Beitrag No. 19) Falls im Graphen zwei Knotenbeschriftungen zu eng beieinander stehen, kann man sie doch bestimmt auch manuell anpassen, oder? \quoteoff Ja, habe ich auch gezeigt wie es geht. Oder was meinst Du?


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.21, vom Themenstarter, eingetragen 2018-08-27

\quoteon(2018-08-27 04:17 - cis in Beitrag No. 20) \quoteon(2018-08-27 04:05 - Slash in Beitrag No. 19) Falls im Graphen zwei Knotenbeschriftungen zu eng beieinander stehen, kann man sie doch bestimmt auch manuell anpassen, oder? \quoteoff Ja, habe ich auch gezeigt wie es geht. Oder was meinst Du? \quoteoff OK, habe es im Code ausfindig gemacht. Dann ist alles klar.


   Profil
Ex_Senior
  Beitrag No.22, eingetragen 2018-08-27

\quoteon(2018-08-27 04:36 - Slash in Beitrag No. 21) \quoteon(2018-08-27 04:17 - cis in Beitrag No. 20) \quoteon(2018-08-27 04:05 - Slash in Beitrag No. 19) Falls im Graphen zwei Knotenbeschriftungen zu eng beieinander stehen, kann man sie doch bestimmt auch manuell anpassen, oder? \quoteoff Ja, habe ich auch gezeigt wie es geht. Oder was meinst Du? \quoteoff OK, habe es im Code ausfindg gemacht. Dann ist alles klar. \quoteoff Im Code steht es sowieso, ansonsten hatte ich diesen wichtigen Punkt nochmal extra ausgeführt: \quoteon(2018-08-27 03:09 - cis in Beitrag No. 17) Da sich manche Beschriftungen überlappen, kann man einen Feinschliff vornehmen; etwa: \sourceon (latex) % Beschriftung der Streichholzköpfe \foreach \n in {1,...,51}{%% \ifnum\n=28 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \ifnum\n=24 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else \node[above right, BeschriftungStyle] at (P-\n) {P\n}; \fi\fi% }%% % .... UNDSOWEITER..... \sourceoff Das 'blue' kann wieder raus; ich empfehle statt 'above right' nur 'above'; und nur 'below' bei Überlappungen. Hinweis: Wenn man sich konsequent an diese Empfehlung hält, kann auch das 'P' bei 'P1,P2,P3,...' raus, also nur '1,2,3,...' da 'P' dann keine zusätzliche Information mehr liefert. \quoteoff


   Profil
Ex_Senior
  Beitrag No.23, eingetragen 2018-08-27

PS: Was auch möglich ist: Man kann mit den Maßstäben x und y bei \sourceon (latex) \begin{axis}[hide axis, x = 15mm, y=15mm, nodes near coords, ] \sourceoff spielen. PPS: Ist ein Koordinatensystem gewünscht, muss 'hide axis' auskommentiert werden (allerdings wird man das KoSy vermutlich auch noch anpassen müssen).


   Profil
Ex_Senior
  Beitrag No.24, eingetragen 2018-08-27

Jetzt bin ich also auch ein Streichholzgrapher geworden, und das nachdem ich erst unlängst in den Primzahl-Cossisten Kult hineingestoßen wurde. ___________________ \quoteon(2018-08-26 22:49 - StefanVogel in Beitrag No. 15) ... doch das zählt als "anderer schwerer Fehler". Kann man so sagen, denn ich habe für diese Fehlersuche eine geschlagene Stunde gebraucht. \quoteoff Ja, ich hatte auch Fehler der beschriebenen Art. Doch der TikZer braucht dafür nur wenige Minuten. :-) Aber am Anfang normal... ;-)


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.25, vom Themenstarter, eingetragen 2018-08-28

@cis Falls möglich, hast du Lust ein kleines intelligentes Beschriftungsprogramm zu schreiben? Es sollte abfragen wie nah zwei Knoten beieinanderliegen und ab einem bestimmten Abstand auch den Abstand zu den benachbarten Knoten kontrollieren und dann entsprechend die Beschriftung setzen. Oder wird das bereits so gemacht in deinem Beispiel?


   Profil
Ex_Senior
  Beitrag No.26, eingetragen 2018-08-28

\quoteon(2018-08-28 07:31 - Slash in Beitrag No. 25) @cis a. Falls möglich, hast du Lust ein kleines intelligentes Beschriftungsprogramm zu schreiben? Es sollte abfragen wie nah zwei Knoten beieinanderliegen und ab einem bestimmten Abstand auch den Abstand zu den benachbarten Knoten kontrollieren und dann entsprechend die Beschriftung setzen. b. Oder wird das bereits so gemacht in deinem Beispiel? \quoteoff a. Dazu müsste ich erstmal wissen was ein Streichholzgraph ist und wie er konstruiert wird. Ich bin nur optischer Streichholzgrapher kein Streichholzgraphtheoretiker; m.a.W.: Ich habe eigentlich keine Ahnung was ich da mache und wozu ich es mache. :-) Wie dem auch sei, das Problem könnte mit TikZ, Bibliothek calc, (mühsam) lösbar sein; aber: b. Nein, ich habe allein die Daten von Stefan Vogel verwendet. Die Koordinaten hat er -ich weiß nicht wie- berechnet und es ist sicher sinnvoller die gesuchten weiteren Größen mit dem selben Programm zu berechnen. Aber: Das in #17 / #18 Gezeigte kann sich erstmal vom Ergebnis her sehen lassen. Die Tikz/pgf-Erstellungsmethode genügt aber noch nicht meinen Ansprüchen! Wenn alles klappt, kann ich hier nochmal eine dramatische Vereinfachung im Hinblick auf die Datenverarbeitung vornehmen. Dazu muss ich aber noch ein paar Sachen klären und die Experten um Rat fragen.


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.27, vom Themenstarter, eingetragen 2018-08-28

Kann man in LaTeX/TikZ denn überhaupt programmieren, also mit IF-Schleifen, etc.?


   Profil
Ex_Senior
  Beitrag No.28, eingetragen 2018-08-28

\quoteon(2018-08-28 18:38 - Slash in Beitrag No. 27) Kann man in LaTeX/TikZ denn überhaupt programmieren, also mit IF-Schleifen, etc.? \quoteoff Ja natürlich; das steht doch bereits in #17. (Wenn die Vereinfachung klappt, die ich vorhabe, braucht man die dortige if-Unterscheidung nicht mehr.)


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.29, vom Themenstarter, eingetragen 2018-08-29

Dann braucht man doch nur die Differenz d zweier y Koordinaten abfragen und ab einem bestimmten d < ... die kleinere etwas weiter runter setzen*. Es müsste natürlich jeder Punkt mit jedem verglichen werden, aber bei 50-60 Knoten sollte das kein Problem sein. Oder doch? *wenn (0,0) im KS unten links


   Profil
Ex_Senior
  Beitrag No.30, eingetragen 2018-08-29

Zieh mich nicht in die Streichholzgraphtheorien mit rein... :-( Ich bin Universalanwendungs-TikZer: ich TikZe Sachen, die jede Vorstellungskraft sprengen und werfe Vorschläge auf, die jeden Meister verzweifeln lassen. Zum aktuellen Stand: Ich habe einen sogen. 'patch plot' so manipuliert, dass er nur Kanten, keine patches, zeichnet. Da hat zur Folge, dass man die Knotenpunkte,die Verbindungskanten und die Beschriftungen mit sehr übersichtlichen Datensätzen plotten kann. An sich ist das Problem gelöst, in Details ist mir die Lösung aber noch nicht elegant genug; also muss ich noch Expertenrat einholen. Wenn das hier auf dem MP dargestellt werden soll, braucht es die Bibliothek '\usepgfplotslibrary{patchplots}'. Ich habe matroid deshalb angeschrieben (und auch nochmal auf die Universallösung hingewiesen). Möglicherweise lehnt er aber alles ab, was von mir kommt, weil ich linienuntreu bin. Also fragt ihr Streichholzgrapher eben mal ob man das einbinden kann.


   Profil
Ex_Senior
  Beitrag No.31, eingetragen 2018-08-29

Ich habe pgfplots mal wieder an seine Grenzen gebracht; eine Fehlermeldung "Sorry, the choice .... is currently only available for inline tables..." Egal, ich habe eine Lösung. Für die Darstellung -hier- braucht es nur noch '\usepgfplotslibrary{patchplots}'. Wenn das ein Streichholzgrapher bei metroid erwirken kann, kann ich die Lösung posten (und erklären). Mir wird jeder Wunsch verwehrt. \quoteon(2018-08-29 13:39 - cis in Beitrag No. 30) Wenn das hier auf dem MP dargestellt werden soll, braucht es die Bibliothek '\usepgfplotslibrary{patchplots}'. Ich habe matroid deshalb angeschrieben (und auch nochmal auf die Universallösung hingewiesen). Möglicherweise lehnt er aber alles ab, was von mir kommt, weil ich linienuntreu bin. Also fragt ihr Streichholzgrapher eben mal ob man das einbinden kann. \quoteoff


   Profil
Ex_Senior
  Beitrag No.32, eingetragen 2018-08-29

Lösung mit pfgplots (patch plot)

Die graphische Umsetzung eines Streichholzgraphen geht mit drei Herausforderungen einher: 1. Die Platzierung der Punkte 2. Die Angabe der Verbindungskanten 3. Die geeignete Platzierung der Beschriftungen (keine Überlappungen o.ä.)

Alt:

Bei den Beispielen #17 / #18 werden die Knotenkoordinaten als Wertetabelle eingeben \sourceon Nr x y 0 -1.23 4.58 1 -1.23 4.58 2 -2.01 3.95 3 -1.07 3.59 .... \sourceoff Die Verbindungskanten werden aber durch Schleifen \foreach \n in {3,2,43} \draw (P-4) -- (P-\n); erzeugt und eine geeignete Positionierung der Beschriftungen muss aufwendig durch if-Unterscheidungen erzeugt werden \ifnum\n=24 \node[below right, BeschriftungStyle, blue] at (P-\n) {P\n};% \else ..... Das ist alles kompliziert und umständlich.

Neu:

Günstig wäre eine Tabelle, \sourceon Verbindungspunkte Nr x y Textposition pt1 pt2 pt3 pt4 1 -1.23 4.58 south 3 4 7 20 2 -1.23 4.58 north 3 5 7 1 .... \sourceoff eine solche Tabelle wäre für pgfplots denkbar, aber nicht trivial zu parsen. Stattdessen kann man einen 'patch plot' verwenden, der normalerweise Dreiecke oder Polygone zeichnet. Manipuliert man diesen auf die Eckenzahl 2, werden keine patches, sondern nur noch Kanten gezeichnet. Für den patch plot braucht man also zwei Datentabellen \sourceon Knoten und Beschriftungen Nr x y Textposition \\ 0 0 0 south \\% Default 1 -1.23 4.58 \\ 2 -2.01 3.95 \\ 3 -1.07 3.59 north \\% Änderung 4 -1.85 2.96 south \\% Default wiederholen 5 -2.78 3.32 \\ 6 -0.97 3.62 \\ .... \sourceoff \sourceon Kanten Startpkt Endpkt colordata \\%colordata weglassen, dann vermutl. autom. 0 1 1 \\ 2 1 \\ 3 1 \\ 3 2 \\ 4 3 \\ 4 2 \\ ... \sourceoff Hierbei sind fünf Sachen zu beachten: i. Die Tabellen sind LaTeX-lastig gehalten, so verlangt patch plot in der aktuellen Version row sep=\\, womit jede Zeile mit '\\' abschließen muss. ii. Die "Textposition" bezieht sich auf die node, die den Text beinhaltet, nicht auf den Punkt. So bedeutet 'south' oberhalb des Punktes, 'north' unterhalb des Punktes. Soll der Text bespielsweise oben rechts des Punktes stehen, muss '{south west}' angegeben werden. Achtung: Die geschweiften Klammern sind dann notwendig, da pgfplots sonst von einer neuen Spalte ausgeht. iii. Dass alle Kanten im folgenden Beispiel in grau gezeichnet werden liegt an der (manipulierten) Angabe colormap={Kantenfarbe}{color=(gray) color=(gray)}, d.h., dass es keine Rolle spielt welche Zahl in der Spalte "colordata" eingegeben wird. Tatsächlich könnte man aber auch die o.g. 'colormap' auskommentieren, die Default- oder eine eigene colormap verwenden und in der colordata-Spalte Werte eingeben. Im Resultat kann man dann verschiedenfarbige Kanten zeichnen. Wie man eine colormap zweckmäßig bedient weiß ich aber zur Zeit nicht, das habe ich mir nie richtig angeschaut. iv. Die Tabelle "Knoten und Beschriftungen" wird an zwei Stellen benötigt: einmal für den Plot der Knoten, einmal für die Beschriftung der Kanten; daher gibt es auch zweimal '\addplot' mit dieser Tabelle. Das ist nicht unbedingt elegant, aber wird bereits im Handbuchbeispiel für 'patch plots polygon' so gemacht, daher schätze ich, dass es zur Zeit keine kürzere Lösung gibt (pgfplots 1.16, letztes Beispiel vor Abschnitt 5.9.2). v. Zu jedem Knoten muss (mindestens) eine Verbindungsdatenangabe in der Tabelle "Kanten" existieren. Sollten vom Punkt 3 keine Kanten ausgehen, so muss 3 3 eingetragen werden! Vollständiges Beispiel: $ % Allgemeine Angaben \pgfplotsset{compat=1.13, x=14mm, y=14mm, % Maßstab % Oder Bildmaße % width=20cm, % height=5cm, } \begin{tikzpicture} \begin{axis}[hide axis, colormap={Kantenfarbe}{color=(gray) color=(gray)}, ] \addplot+[ % Punkte mark size=1.125pt, mark options={red}, % Kanten thick, % Beschriftung --> hier nicht möglich %nodes near coords=\coordindex, % TUT -hier- NICHT! table/row sep=\\, % Muss wohl so sein!? % patch, % Plot-Typ patch type=polygon, vertex count=2, % damit nur Kanten, keine Flächen, gezeichnet werden % % Angabe der Verbindungskanten ===================== patch table with point meta={% Startpkt Endpkt colordata \\%colordata weglassen, dann vermutl. autom. 0 1 1 \\ 2 1 \\ 3 1 \\ 3 2 \\ 4 3 \\ 4 2 \\ 4 43 \\ 5 4 \\ 5 2 \\ 5 37 \\ 6 1 \\ 7 1 \\ 7 6 \\ 8 7 \\ 8 6 \\ 9 7 \\ 9 8 \\ 10 9 \\ 10 8 \\ 11 9 \\ 11 10 \\ 12 11 \\ 13 11 \\ 13 12 \\ 14 13 \\ 14 12 \\ 15 13 \\ 15 14 \\ 16 15 \\ 17 15 \\ 17 16 \\ 18 17 \\ 18 16 \\ 19 17 \\ 19 18 \\ 20 19 \\ 21 19 \\ 21 20 \\ 22 21 \\ 22 20 \\ 23 21 \\ 23 22 \\ 24 23 \\ 25 23 \\ 25 24 \\ 26 25 \\ 26 24 \\ 27 25 \\ 27 26 \\ 28 27 \\ 28 26 \\ 29 27 \\ 29 28 \\ 29 31 \\ 30 31 \\ 30 29 \\ 31 33 \\ 32 33 \\ 32 31 \\ 32 30 \\ 33 33 \\ 34 35 \\ 34 33 \\ 34 36 \\ 35 33 \\ 36 37 \\ 36 35 \\ 36 38 \\ 37 35 \\ 38 5 \\ 38 37 \\ 39 32 \\ 39 30 \\ 40 34 \\ 40 39 \\ 41 39 \\ 41 28 \\ 42 41 \\ 42 24 \\ 42 22 \\ 43 38 \\ 43 40 \\ 44 41 \\ 44 42 \\ 44 49 \\ 44 51 \\ 45 6 \\ 45 3 \\ 46 14 \\ 46 12 \\ 46 48 \\ 47 18 \\ 47 16 \\ 48 10 \\ 48 45 \\ 48 50 \\ 49 45 \\ 49 43 \\ 49 40 \\ 50 47 \\ 50 46 \\ 50 51 \\ 51 20 \\ 51 47 \\ } % Angabe der Verbindungskanten ===================== ] table[header=true, x index=1, y index=2, row sep=\\] { Nr x y Textposition \\ 0 0 0 south \\% Default 1 -1.23 4.58 \\ 2 -2.01 3.95 \\ 3 -1.07 3.59 north \\% Änderung 4 -1.85 2.96 south \\% Default wiederholen 5 -2.78 3.32 \\ 6 -0.97 3.62 \\ 7 -0.27 4.32 \\ 8 -0.01 3.36 \\ 9 0.70 4.06 \\ 10 0.96 3.10 \\ 11 1.67 3.81 \\ 12 1.34 2.86 \\ 13 2.32 3.05 \\ 14 1.99 2.10 \\ 15 2.97 2.29 \\ 16 2.04 1.93 north \\ 17 2.81 1.30 south \\ 18 1.88 0.95 \\ 19 2.66 0.31 \\ 20 1.66 0.43 \\ 21 2.06 -0.49 \\ 22 1.06 -0.37 \\ 23 1.46 -1.29 \\ 24 0.96 -0.42 north \\ 25 0.46 -1.28 south \\ 26 -0.04 -0.41 \\ 27 -0.54 -1.28 \\ 28 -1.04 -0.41 north \\ 29 -1.54 -1.27 south \\ 30 -1.16 -0.35 \\ 31 -2.15 -0.48 \\ 32 -1.77 0.44 \\ 33 -2.76 0.32 \\ 34 -1.90 0.82 \\ 35 -2.77 1.32 \\ 36 -1.90 1.82 \\ 37 -2.77 2.32 \\ 38 -1.91 2.82 north \\ 39 -0.77 0.57 south \\ 40 -1.16 1.50 \\ 41 -0.08 -0.14 \\ 42 0.66 0.54 north \\ 43 -0.97 2.48 south \\ 44 -0.30 0.83 \\ 45 -0.81 2.63 \\ 46 1.01 1.92 \\ 47 1.10 1.58 \\ 48 0.18 2.48 \\ 49 -0.21 1.83 \\ 50 0.11 1.48 \\ 51 0.69 0.67 \\ }; % Beschriftungen ============================ % Laut Handbuch "replicate the vertex list to show \coordindex" % Anzeigen des 0. Aliaspunktes verhindern: \newcommand\Punktnummer{\pgfmathparse{\punktnummer>0 ? \punktnummer : ""}\pgfmathresult} \addplot[ only marks, visualization depends on={value \thisrowno{0} \as \punktnummer}, visualization depends on={value \thisrowno{3} \as \Anker}, nodes near coords={\Punktnummer}, % every node near coord/.append style={ font=\scriptsize, %\sffamily text=black, anchor=\Anker }, ] table[header=true, x index=1, y index=2, row sep=\\] { Nr x y Textposition \\ 0 0 0 south \\ 1 -1.23 4.58 \\ 2 -2.01 3.95 \\ 3 -1.07 3.59 north \\ 4 -1.85 2.96 south \\ 5 -2.78 3.32 \\ 6 -0.97 3.62 \\ 7 -0.27 4.32 \\ 8 -0.01 3.36 \\ 9 0.70 4.06 \\ 10 0.96 3.10 \\ 11 1.67 3.81 \\ 12 1.34 2.86 \\ 13 2.32 3.05 \\ 14 1.99 2.10 \\ 15 2.97 2.29 \\ 16 2.04 1.93 north \\ 17 2.81 1.30 south \\ 18 1.88 0.95 \\ 19 2.66 0.31 \\ 20 1.66 0.43 \\ 21 2.06 -0.49 \\ 22 1.06 -0.37 \\ 23 1.46 -1.29 \\ 24 0.96 -0.42 north \\ 25 0.46 -1.28 south \\ 26 -0.04 -0.41 \\ 27 -0.54 -1.28 \\ 28 -1.04 -0.41 north \\ 29 -1.54 -1.27 south \\ 30 -1.16 -0.35 \\ 31 -2.15 -0.48 \\ 32 -1.77 0.44 \\ 33 -2.76 0.32 \\ 34 -1.90 0.82 \\ 35 -2.77 1.32 \\ 36 -1.90 1.82 \\ 37 -2.77 2.32 \\ 38 -1.91 2.82 north \\ 39 -0.77 0.57 south \\ 40 -1.16 1.50 \\ 41 -0.08 -0.14 \\ 42 0.66 0.54 north \\ 43 -0.97 2.48 south \\ 44 -0.30 0.83 \\ 45 -0.81 2.63 \\ 46 1.01 1.92 \\ 47 1.10 1.58 \\ 48 0.18 2.48 \\ 49 -0.21 1.83 \\ 50 0.11 1.48 \\ 51 0.69 0.67 \\ }; % Beschriftungen ============================ \end{axis} \end{tikzpicture} $ \sourceon latex %\documentclass[]{article} \documentclass[margin=5mm, tikz]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{patchplots} \pgfplotsset{compat=1.13} \begin{document} % Allgemeine Angaben \pgfplotsset{ x=12mm, y=12mm, % Maßstab % Oder Bildmaße % width=20cm, % height=5cm, } \begin{tikzpicture} \begin{axis}[hide axis, colormap={Kantenfarbe}{color=(gray) color=(gray)}, ] \addplot+[ % Punkte mark size=1.125pt, mark options={red}, % Kanten thick, % Beschriftung --> hier nicht möglich %nodes near coords=\coordindex, % TUT -hier- NICHT! table/row sep=\\, % Muss wohl so sein!? % patch, % Plot-Typ patch type=polygon, vertex count=2, % damit nur Kanten, keine Flächen, gezeichnet werden % % Angabe der Verbindungskanten ===================== patch table with point meta={% Startpkt Endpkt colordata \\%colordata weglassen, dann vermutl. autom. 0 1 1 \\ 2 1 \\ 3 1 \\ 3 2 \\ 4 3 \\ 4 2 \\ 4 43 \\ 5 4 \\ 5 2 \\ 5 37 \\ 6 1 \\ 7 1 \\ 7 6 \\ 8 7 \\ 8 6 \\ 9 7 \\ 9 8 \\ 10 9 \\ 10 8 \\ 11 9 \\ 11 10 \\ 12 11 \\ 13 11 \\ 13 12 \\ 14 13 \\ 14 12 \\ 15 13 \\ 15 14 \\ 16 15 \\ 17 15 \\ 17 16 \\ 18 17 \\ 18 16 \\ 19 17 \\ 19 18 \\ 20 19 \\ 21 19 \\ 21 20 \\ 22 21 \\ 22 20 \\ 23 21 \\ 23 22 \\ 24 23 \\ 25 23 \\ 25 24 \\ 26 25 \\ 26 24 \\ 27 25 \\ 27 26 \\ 28 27 \\ 28 26 \\ 29 27 \\ 29 28 \\ 29 31 \\ 30 31 \\ 30 29 \\ 31 33 \\ 32 33 \\ 32 31 \\ 32 30 \\ 33 33 \\ 34 35 \\ 34 33 \\ 34 36 \\ 35 33 \\ 36 37 \\ 36 35 \\ 36 38 \\ 37 35 \\ 38 5 \\ 38 37 \\ 39 32 \\ 39 30 \\ 40 34 \\ 40 39 \\ 41 39 \\ 41 28 \\ 42 41 \\ 42 24 \\ 42 22 \\ 43 38 \\ 43 40 \\ 44 41 \\ 44 42 \\ 44 49 \\ 44 51 \\ 45 6 \\ 45 3 \\ 46 14 \\ 46 12 \\ 46 48 \\ 47 18 \\ 47 16 \\ 48 10 \\ 48 45 \\ 48 50 \\ 49 45 \\ 49 43 \\ 49 40 \\ 50 47 \\ 50 46 \\ 50 51 \\ 51 20 \\ 51 47 \\ } % Angabe der Verbindungskanten ===================== ] table[header=true, x index=1, y index=2, row sep=\\] { Nr x y Textposition \\ 0 0 0 south \\% Default 1 -1.23 4.58 \\ 2 -2.01 3.95 \\ 3 -1.07 3.59 north \\% Änderung 4 -1.85 2.96 south \\% Default wiederholen 5 -2.78 3.32 \\ 6 -0.97 3.62 \\ 7 -0.27 4.32 \\ 8 -0.01 3.36 \\ 9 0.70 4.06 \\ 10 0.96 3.10 \\ 11 1.67 3.81 \\ 12 1.34 2.86 \\ 13 2.32 3.05 \\ 14 1.99 2.10 \\ 15 2.97 2.29 \\ 16 2.04 1.93 north \\ 17 2.81 1.30 south \\ 18 1.88 0.95 \\ 19 2.66 0.31 \\ 20 1.66 0.43 \\ 21 2.06 -0.49 \\ 22 1.06 -0.37 \\ 23 1.46 -1.29 \\ 24 0.96 -0.42 north \\ 25 0.46 -1.28 south \\ 26 -0.04 -0.41 \\ 27 -0.54 -1.28 \\ 28 -1.04 -0.41 north \\ 29 -1.54 -1.27 south \\ 30 -1.16 -0.35 \\ 31 -2.15 -0.48 \\ 32 -1.77 0.44 \\ 33 -2.76 0.32 \\ 34 -1.90 0.82 \\ 35 -2.77 1.32 \\ 36 -1.90 1.82 \\ 37 -2.77 2.32 \\ 38 -1.91 2.82 north \\ 39 -0.77 0.57 south \\ 40 -1.16 1.50 \\ 41 -0.08 -0.14 \\ 42 0.66 0.54 north \\ 43 -0.97 2.48 south \\ 44 -0.30 0.83 \\ 45 -0.81 2.63 \\ 46 1.01 1.92 \\ 47 1.10 1.58 \\ 48 0.18 2.48 \\ 49 -0.21 1.83 \\ 50 0.11 1.48 \\ 51 0.69 0.67 \\ }; % Beschriftungen ============================ % Laut Handbuch "replicate the vertex list to show \coordindex" % Anzeigen des 0. Aliaspunktes verhindern: \newcommand\Punktnummer{\pgfmathparse{\punktnummer>0 ? \punktnummer : ""}\pgfmathresult} \addplot[ only marks, visualization depends on={value \thisrowno{0} \as \punktnummer}, visualization depends on={value \thisrowno{3} \as \Anker}, nodes near coords={\Punktnummer}, % every node near coord/.append style={ font=\scriptsize, %\sffamily text=black, anchor=\Anker }, ] table[header=true, x index=1, y index=2, row sep=\\] { Nr x y Textposition \\ 0 0 0 south \\ 1 -1.23 4.58 \\ 2 -2.01 3.95 \\ 3 -1.07 3.59 north \\ 4 -1.85 2.96 south \\ 5 -2.78 3.32 \\ 6 -0.97 3.62 \\ 7 -0.27 4.32 \\ 8 -0.01 3.36 \\ 9 0.70 4.06 \\ 10 0.96 3.10 \\ 11 1.67 3.81 \\ 12 1.34 2.86 \\ 13 2.32 3.05 \\ 14 1.99 2.10 \\ 15 2.97 2.29 \\ 16 2.04 1.93 north \\ 17 2.81 1.30 south \\ 18 1.88 0.95 \\ 19 2.66 0.31 \\ 20 1.66 0.43 \\ 21 2.06 -0.49 \\ 22 1.06 -0.37 \\ 23 1.46 -1.29 \\ 24 0.96 -0.42 north \\ 25 0.46 -1.28 south \\ 26 -0.04 -0.41 \\ 27 -0.54 -1.28 \\ 28 -1.04 -0.41 north \\ 29 -1.54 -1.27 south \\ 30 -1.16 -0.35 \\ 31 -2.15 -0.48 \\ 32 -1.77 0.44 \\ 33 -2.76 0.32 \\ 34 -1.90 0.82 \\ 35 -2.77 1.32 \\ 36 -1.90 1.82 \\ 37 -2.77 2.32 \\ 38 -1.91 2.82 north \\ 39 -0.77 0.57 south \\ 40 -1.16 1.50 \\ 41 -0.08 -0.14 \\ 42 0.66 0.54 north \\ 43 -0.97 2.48 south \\ 44 -0.30 0.83 \\ 45 -0.81 2.63 \\ 46 1.01 1.92 \\ 47 1.10 1.58 \\ 48 0.18 2.48 \\ 49 -0.21 1.83 \\ 50 0.11 1.48 \\ 51 0.69 0.67 \\ }; % Beschriftungen ============================ \end{axis} \end{tikzpicture} \end{document} \sourceoff



   Profil
Ex_Senior
  Beitrag No.33, eingetragen 2018-08-31

Die Ausführung hier: https://matheplanet.de/matheplanet/nuke/html/viewtopic.php?topic=216644&post_id=1727879 legt nahe, dass die Methode im Allgemeinen -hier- nicht anwendbar ist. Dann macht den Scheißdreck weiterhin mit fedgeo. Ich piss auf die Streichholzgraphen und ich piss auf ein Verfahren, was aufgrund irgendwelcher Kleinigkeiten nicht durchfühbar ist.


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.34, vom Themenstarter, eingetragen 2018-08-31

\quoteon(2018-08-31 00:59 - cis in Beitrag No. 33) Die Ausführung hier: https://matheplanet.de/matheplanet/nuke/html/viewtopic.php?topic=216644&post_id=1727879 legt nahe, dass die Methode im Allgemeinen -hier- nicht anwendbar ist. Dann macht den Scheißdreck weiterhin mit fedgeo. Ich piss auf die Streichholzgraphen und ich piss auf ein Verfahren, was aufgrund irgendwelcher Kleinigkeiten nicht durchfühbar ist. \quoteoff Warum denn so aggressiv*? Matroid wird da bestimmt etwas entsprechend "einstellen" und in unseren Artikeln wird deine Hilfe/Arbeit bestimmt auch zum Einsatz kommen, sogar mit einem entsprechenden Hinweis am Ende, falls du nichts dagegen hast - als cis oder mit deinem bürgerlichen Namen. Welche Pakete etc. benötige ich für einen Gebrauch mit LaTeX? Es ist allerdings schon eine traurige Ironie, dass letztendlich fast genau das gleiche Problem auftritt wie mit fedgeo, was mich ja dazu veranlasst hat diesen Thread zu eröffnen. :-( *jetzt "piss" dir mal nicht ins Hemd. :-P


   Profil
Ex_Senior
  Beitrag No.35, eingetragen 2018-09-01

\quoteon(2018-09-01 11:23 - matroid in Beitrag No. 1) Ich verstehe nicht, wie das entsteht. Um tikz-Bilder nicht generell zu stören, habe ich '\usepgfplotslibrary{patchplots}' wieder deaktiviert. \quoteoff Man kann also auch nicht weiter testen. Ja, macht doch was ihr wollt. Es gibt hier kaum jemanden, der mehr über MP-TikZ weiß als ich und niemanden, der mehr davon angebahnt hat als ich. Ich habe mich genug dafür engagiert. Es gibt Wichtigeres zu tun in dieser Zeit.


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.36, vom Themenstarter, eingetragen 2018-09-05

@ cis Welche Pakete benötige ich, um die Plots in einem LaTeX Dokument zu verwenden? Nur "\usepackage{pgfplots}"? Den Code habe ich aus Stefans neuester Programmversion. In meinem LaTeX Dokument werden wie hier nur die Zahlen angezeigt, dafür aber viele Fehler im Code. Das liegt wohl daran, dass dieser Code für den MP gedacht ist, der aber hier ja auch nicht mehr funktioniert. Daher wäre es wohl am besten, den Code auf Original-LaTeX umzustellen und nicht auf MP-LaTeX. So findet deine Arbeit auch Verwendung und es war nicht alles umsonst. Kannst du mir bitte ein Minibeispiel erstellen für diesen Graphen? $ % Allgemeine Angaben \pgfplotsset{compat=1.13, x=15mm, y=15mm, % Maßstab % Oder Bildmaße % width=20cm, % height=5cm, } \begin{tikzpicture} \begin{axis}[hide axis, colormap={Kantenfarbe}{color=(gray) color=(gray)}, ] \addplot+[ % Punkte mark size=1.125pt, mark options={red}, % Kanten thick, % Beschriftung --> hier nicht möglich %nodes near coords=\coordindex, % TUT -hier- NICHT! table/row sep=\\, % Muss wohl so sein!? % patch, % Plot-Typ patch type=polygon, vertex count=2, % damit nur Kanten, keine Flächen, gezeichnet werden % % Angabe der Verbindungskanten ===================== patch table with point meta={% Startpkt Endpkt colordata \\%colordata weglassen, dann vermutl. autom. 0 2 1 \\ 3 1 \\ 3 2 \\ 4 3 \\ 4 2 \\ 5 4 \\ 5 2 \\ 6 4 \\ 6 5 \\ 7 6 \\ 7 5 \\ 7 37 \\ 8 1 \\ 9 1 \\ 9 8 \\ 10 9 \\ 10 8 \\ 11 9 \\ 11 10 \\ 12 11 \\ 13 11 \\ 13 12 \\ 14 13 \\ 14 12 \\ 15 13 \\ 15 14 \\ 16 15 \\ 16 14 \\ 17 15 \\ 17 16 \\ 18 17 \\ 18 44 \\ 19 17 \\ 19 18 \\ 20 19 \\ 20 18 \\ 21 19 \\ 21 20 \\ 22 21 \\ 23 21 \\ 23 22 \\ 24 23 \\ 24 22 \\ 25 23 \\ 25 24 \\ 26 25 \\ 26 24 \\ 27 25 \\ 27 26 \\ 28 27 \\ 29 27 \\ 29 28 \\ 30 29 \\ 30 28 \\ 31 29 \\ 31 30 \\ 31 33 \\ 32 33 \\ 32 31 \\ 33 35 \\ 34 35 \\ 34 33 \\ 34 32 \\ 36 37 \\ 36 35 \\ 36 38 \\ 37 35 \\ 38 7 \\ 38 37 \\ 39 10 \\ 39 8 \\ 40 39 \\ 40 3 \\ 41 40 \\ 41 6 \\ 42 40 \\ 42 41 \\ 43 12 \\ 43 39 \\ 43 42 \\ 44 16 \\ 44 43 \\ 45 44 \\ 45 42 \\ 45 46 \\ 45 47 \\ 46 22 \\ 46 20 \\ 47 26 \\ 47 46 \\ 47 48 \\ 48 30 \\ 48 28 \\ 48 51 \\ 49 34 \\ 49 32 \\ 49 50 \\ 50 38 \\ 50 36 \\ 51 50 \\ 51 49 \\ 51 41 \\ } % Angabe der Verbindungskanten ===================== ] table[header=true, x index=1, y index=2, row sep=\\] { Nr x y Textposition \\ 0 0 0 south \\% Default 1 -1.71 0.64 \\ 2 -0.71 0.64 \\ 3 -1.21 1.50 north \\ 4 -0.21 1.50 \\ 5 0.29 0.64 south \\ 6 0.79 1.50 \\ 7 1.29 0.64 \\ 8 -1.28 1.54 \\ 9 -2.28 1.46 \\ 10 -1.85 2.36 \\ 11 -2.84 2.28 \\ 12 -1.95 2.73 \\ 13 -2.79 3.28 \\ 14 -1.90 3.73 \\ 15 -2.74 4.28 \\ 16 -1.84 4.73 north \\ 17 -2.68 5.28 south \\ 18 -1.77 4.86 \\ 19 -1.87 5.86 \\ 20 -0.96 5.45 north \\ 21 -1.06 6.44 south \\ 22 -0.81 5.47 \\ 23 -0.09 6.17 \\ 24 0.16 5.21 \\ 25 0.87 5.91 \\ 26 1.12 4.94 \\ 27 1.83 5.64 \\ 28 1.46 4.71 \\ 29 2.45 4.85 \\ 30 2.08 3.92 \\ 31 3.07 4.06 \\ 32 2.11 3.75 north \\ 33 2.86 3.08 south \\ 34 1.91 2.77 \\ 35 2.65 2.11 \\ 36 1.67 2.33 \\ 37 1.97 1.37 \\ 38 1.00 1.59 \\ 39 -0.85 2.44 \\ 40 -0.22 1.67 \\ 41 0.42 2.43 \\ 42 -0.56 2.61 \\ 43 -1.19 3.38 \\ 44 -0.92 4.35 \\ 45 -0.29 3.57 \\ 46 -0.71 4.48 \\ 47 0.29 4.38 \\ 48 1.09 3.78 \\ 49 1.16 3.44 \\ 50 0.70 2.55 \\ 51 0.16 3.39 \\ }; % Beschriftungen ============================ % Laut Handbuch "replicate the vertex list to show \coordindex" % Anzeigen des 0. Aliaspunktes verhindern: \newcommand\Punktnummer{\pgfmathparse{\punktnummer>0 ? \punktnummer : ""}\pgfmathresult} \addplot[ only marks, visualization depends on={value \thisrowno{0} \as \punktnummer}, visualization depends on={value \thisrowno{3} \as \Anker}, nodes near coords={\Punktnummer}, % every node near coord/.append style={ font=\scriptsize, %\sffamily text=black, anchor=\Anker }, ] table[header=true, x index=1, y index=2, row sep=\\] { Nr x y Textposition \\ 0 0 0 south \\ 1 -1.71 0.64 \\ 2 -0.71 0.64 \\ 3 -1.21 1.50 north \\ 4 -0.21 1.50 \\ 5 0.29 0.64 south \\ 6 0.79 1.50 \\ 7 1.29 0.64 \\ 8 -1.28 1.54 \\ 9 -2.28 1.46 \\ 10 -1.85 2.36 \\ 11 -2.84 2.28 \\ 12 -1.95 2.73 \\ 13 -2.79 3.28 \\ 14 -1.90 3.73 \\ 15 -2.74 4.28 \\ 16 -1.84 4.73 north \\ 17 -2.68 5.28 south \\ 18 -1.77 4.86 \\ 19 -1.87 5.86 \\ 20 -0.96 5.45 north \\ 21 -1.06 6.44 south \\ 22 -0.81 5.47 \\ 23 -0.09 6.17 \\ 24 0.16 5.21 \\ 25 0.87 5.91 \\ 26 1.12 4.94 \\ 27 1.83 5.64 \\ 28 1.46 4.71 \\ 29 2.45 4.85 \\ 30 2.08 3.92 \\ 31 3.07 4.06 \\ 32 2.11 3.75 north \\ 33 2.86 3.08 south \\ 34 1.91 2.77 \\ 35 2.65 2.11 \\ 36 1.67 2.33 \\ 37 1.97 1.37 \\ 38 1.00 1.59 \\ 39 -0.85 2.44 \\ 40 -0.22 1.67 \\ 41 0.42 2.43 \\ 42 -0.56 2.61 \\ 43 -1.19 3.38 \\ 44 -0.92 4.35 \\ 45 -0.29 3.57 \\ 46 -0.71 4.48 \\ 47 0.29 4.38 \\ 48 1.09 3.78 \\ 49 1.16 3.44 \\ 50 0.70 2.55 \\ 51 0.16 3.39 \\ }; % Beschriftungen ============================ \end{axis} %Eingabe war: % %#1342 % % % % % % % %P[1]=[-106.04606615295775,39.52790623715466]; P[2]=[-43.95393384704225,39.52790623715466]; D=ab(1,2); A(2,1,Bew(1)); L(3,1,2); L(4,3,2); %L(5,4,2); L(6,4,5); L(7,6,5); %M(8,1,3,blue_angle,2,green_angle,3,orange_angle,2,fourth_angle,3,fifth_angle,2, %"zumachen",7,2,2);L(39,10,8); N(40,39,3); N(41,40,6); L(42,40,41); N(43,12,39); %N(44,16,43); N(45,44,42); N(46,22,20); N(47,26,46); L(48,30,28); L(49,34,32); %L(50,38,36); N(51,50,49); RA(43,42); RA(45,46); RA(45,47); RA(47,48); %RA(48,51); RA(51,41); RA(49,50); RA(18,44); % % %Ende der Eingabe. \end{tikzpicture} $


   Profil
Ex_Senior
  Beitrag No.37, eingetragen 2018-09-05

\quoteon(2018-09-05 13:11 - Slash in Beitrag No. 36) @ cis 1. Welche Pakete benötige ich, um die Plots in einem LaTeX Dokument zu verwenden? .... 2. Den Code habe ich aus Stefans neuester Programmversion. 3. In meinem LaTeX Dokument werden wie hier nur die Zahlen angezeigt, dafür aber viele Fehler im Code. 1. Original-LaTeX 3. MP-LaTeX. 1. Kannst du mir bitte ein Minibeispiel erstellen für diesen Graphen? \quoteoff 2. Hä? 3. matroid hat das getan https://matheplanet.de/matheplanet/nuke/html/viewtopic.php?topic=237505 Steht auch in #35. 1. Ich hatte ein vollständiges und lauffähiges Minimalbeispiel als Quelltext angegben.


   Profil
Slash
Aktiv Letzter Besuch: in der letzten Woche
Dabei seit: 23.03.2005
Mitteilungen: 8681
Wohnort: Sahlenburg (Cuxhaven)
  Beitrag No.38, vom Themenstarter, eingetragen 2018-09-05

\quoteon(2018-09-05 13:45 - cis in Beitrag No. 37) 1. Ich hatte ein vollständiges und lauffähiges Minimalbeispiel als Quelltext angegben. 2. Hä? \quoteoff zu 1) OK, gefunden. War zu faul zum suchen. Die Minimalbeispiele in #18 und #32 funktionieren beide. Ist eines davon vorzuziehen? zu 2) Stefan hat in seinem Notizbuch die aktuelle Version des Streichholzpgrogramms mit dem jetzt auch ein pgfplot-Code erzeugt werden kann. Den Code für fedgeo erzeugen wir auch mit dem Programm.


   Profil
Ex_Senior
  Beitrag No.39, eingetragen 2018-09-05

\quoteon(2018-09-05 15:15 - Slash in Beitrag No. 38) zu 1) OK, gefunden. War zu faul zum suchen. Die Minimalbeispiele in #18 und #32 funktionieren beide. Ist eines davon vorzuziehen? \quoteoff Natürlich das Aktuellere. Was sofort klar wird, wenn man den Umständlichkeitsgrad beider Möglichkeiten vergleicht. Ich hatte darüber ausführlich geschrieben und die neuere Lösung mit der alten verglichen - schön, dass das wenigstens niemand liest. Aber Dein Glück ist Trug und Eure Freiheit Schein, also wirst Du auch kein Preuße sein! Es fehlt (i) eine einfache Umsetung von farbigen Kanten; (ii) eine Ergänzung von schwierigeren bzw. beliebigen Annotationen, z.B. Winkel oder was man eben auf den Streichholzgraphen schon gesehen hat. (ii) Ist gelöst, hier herauslesbar und kann leicht ergänzt werden. (i) Ist schwierig, weil sich niemals jemand die Mühe gemacht hat, die 'colormap' zu verstehen. Irgendwie befarben kann man die Kanten schon, aber das genügt nicht meiner TikZ-Gigantomanie.


   Profil
-->> Fortsetzung auf der nächsten Seite -->>
Seite 1Gehe zur Seite: 1 | 2 | 3  

Wechsel in ein anderes Forum:
 Suchen    
 
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2001-2022 by Matroids Matheplanet
This web site was originally made with PHP-Nuke, a former web portal system written in PHP that seems no longer to be maintained nor supported. PHP-Nuke is Free Software released under the GNU/GPL license.
Ich distanziere mich von rechtswidrigen oder anstößigen Inhalten, die sich trotz aufmerksamer Prüfung hinter hier verwendeten Links verbergen mögen.
Lesen Sie die Nutzungsbedingungen, die Distanzierung, die Datenschutzerklärung und das Impressum.
[Seitenanfang]