用C ++绘制点 [英] Plotting points in C++

查看:88
本文介绍了用C ++绘制点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据已经存在于文本文件中,我想要一种方法来显示c ++输出屏幕中的散点。如果我下载Gnuplot它是否适用于c ++或只是另一个应用程序来绘制像Plotly这样的点。我发现matplotlib-cpp,C ++绘图库但是我需要下载python吗?



我尝试过:



Gnuplot没有正确下载

I have data is already in text file, I want a way to show the scattered points in c++ output screen. If I download the Gnuplot does it work with c++ or just another App to plot points like Plotly. I found that matplotlib-cpp, C++ plotting library but do I need to download python?

What I have tried:

Gnuplot didnt download correctly

推荐答案

绘图意味着输出一些带有坐标的像素颜色。一种方法是绘制自己或使用一些库或类。



基础知识在文章中解释 GDI绘图和打印和一些高级类高速制图控制



你也可以用python绘图,但我只知道海龟库。但我认为它比C ++慢得多。
Drawing means to output some pixel colors with coordinates on the monitor. One way is to draw yourself or use some library or classes.

The basics are explained in the article GDI Drawing and Printing and some advanced class High-speed Charting Control.

You can also draw with python, but I only know the turtle library. But I think it is much slower than C++.


我不想画画。我有点我想看看这些点如何在xy平面上散射。

点不会有特定的形状。点可能代表线或簇。
I don't want to draw. I have points I want see how these point scatter in the x-y plane.
It the points won't have a specific shape.Points may represent line or cluster.


这篇关于用C ++绘制点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆