2020-06-26から1日間の記事一覧

[C++]Gnuplotライブラリを各軸の文字列表示に対応させた。Gnuplotライブラリ更新(2)。

タイトルのとおりである。GitHubで公開しているGnuplotライブラリADAPT-GPM2を、以下の図のように、軸を数値ではなく文字列にできるようにした。 #include <ADAPT/GPM2/GPMCanvas.h> using namespace adapt::gpm2; int main() { std::vector<std::string> x; std::vector<double> y; x.push_back("label-on</double></std::string></adapt/gpm2/gpmcanvas.h>…