Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
Using gnuplot to plot vectors (Read 6619 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Using gnuplot to plot vectors
17.02.10 at 19:11:38
 
Using gnuplot to plot vectors
 
gnuplot can be used to plot vectors and labels in 3D.
 
Gnuplot example file:
 
set label "Static"  at         1.1073   ,   -0.1461   ,    1.4492
set label "Induced" at        -2.0741   ,   -0.7467   ,   -2.3820
set label "Total"   at        -0.9668   ,   -0.8927   ,   -0.9328
 
set arrow  from  0,0,0 to      1.1073  ,   -0.1461   ,   1.4492
set arrow  from  0,0,0 to     -2.0741  ,   -0.7467   ,  -2.3820
set arrow  from  0,0,0 to     -0.9668  ,   -0.8927   ,  -0.9328
 
set xrange [-2:30]
set yrange [-2:30]
set zrange [-2:30]
 
set xlabel 'X'
set ylabel 'Y'
set zlabel 'Z'
 
splot -5
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Using gnuplot to plot vectors
Reply #1 - 16.03.13 at 17:17:32
 
Plot vectors and points
 
set arrow from 0,0,0 to 1,1,1
set arrow from 0,0,0 to -1,-1,1
set xrange[-3:3]
set yrange[-3:3]
set zrange[-3:3]
set key off
splot '-' w p ls 1
2 2 2
-2 -2 2
e
pause -1
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1