Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.GRAPHICS.APPS.GNUPLO
GNUplot pipe inerface to plot armadillo matrix
From
kapil.ece.ecb@gmail.com
@21:1/5 to
All
on Fri Apr 24 11:22:51 2020
Dear All,
I am able to plot data using C++ program utilizing pipe. However I am unable to plot armadillo matrix using pipe (minimal interface)?
Currently I am using following code to plot data from egg.dat file (contain data in matrix format)
gnuplot p;
p("set terminal pngcairo transparent enhanced font \"arial,20\" fontscale 1.2 size 1000, 700 ");
p("set output \'result.png\'");
p("set xlabel'Time(sec)'");
p("set ylabel'Amplitude (V)'");
p("set style data lines");
p("plot \'egg.dat\' using 1:6 title\'Clock-6\'lt rgb 'blue' lw 2.5,\
\'egg.dat\' using 1:7 title\'Clock-7\'lt rgb 'red' lw 2.5");
return 0;
Now instead of data from egg.dat, I wish to plot armadillo matrix A. Anyone have any experience?
Thank you.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Bob Worm
Tue Mar 26 23:31:58 2024
from
Wales, Uk
via
Telnet
Bob Worm
Tue Mar 26 17:27:30 2024
from
Wales, Uk
via
Telnet
Keyop
Wed Mar 27 01:16:21 2024
from
Huddersfield, West Yorkshire
via
SSH
Keyop
Thu Mar 28 00:36:18 2024
from
Huddersfield, West Yorkshire
via
SSH
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
285
Nodes:
16 (
2
/
14
)
Uptime:
67:39:44
Calls:
6,488
Calls today:
1
Files:
12,096
Messages:
5,275,268