Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4333
| X-Received | by 2002:a37:9d3:: with SMTP id 202mr10298900qkj.401.1587752572436; Fri, 24 Apr 2020 11:22:52 -0700 (PDT) |
|---|---|
| X-Received | by 2002:aca:b487:: with SMTP id d129mr8463071oif.115.1587752572113; Fri, 24 Apr 2020 11:22:52 -0700 (PDT) |
| Path | csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Fri, 24 Apr 2020 11:22:51 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | google-groups.googlegroups.com; posting-host=117.234.240.237; posting-account=3IH5bQoAAAAerakdLUDzLLHPgkRhg_e1 |
| NNTP-Posting-Host | 117.234.240.237 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <9d1ac923-e3f7-4911-a238-632857dd8972@googlegroups.com> (permalink) |
| Subject | GNUplot pipe inerface to plot armadillo matrix |
| From | kapil.ece.ecb@gmail.com |
| Injection-Date | Fri, 24 Apr 2020 18:22:52 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Lines | 21 |
| Xref | csiph.com comp.graphics.apps.gnuplot:4333 |
Show key headers only | View raw
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.
Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar
GNUplot pipe inerface to plot armadillo matrix kapil.ece.ecb@gmail.com - 2020-04-24 11:22 -0700
csiph-web