首页 \ 问答 \ Linux上的FORTRAN图形库(FORTRAN graphic library on Linux)

Linux上的FORTRAN图形库(FORTRAN graphic library on Linux)

我开始学习FORTRAN并需要图形库来绘制输出
由于我不熟悉FORTRAN环境,我想要求推荐

我习惯了matplotlib,最好是寻找类似的东西。 类似于可用功能和工作流程概念

通过Synaptic搜索,似乎PGPLOT是可行的方式

PS我知道我可以用不同的方式在Python中包装FORTRAN代码


I started learning FORTRAN and need graphic library to plot output
As I'm not familiar with FORTRAN environment, I wanted to ask for recommendation

I'm used to matplotlib, and preferably looking for something similar. Similar in means of available features, and workflow concepts

Searching through Synaptic it seems like PGPLOT is the way to go

PS I know I could wrap FORTRAN code in Python in different ways

更新时间:2023-03-22 16:03

最满意答案

我用过PGPLOT,dislin和PLPLOT。 在这个时代,我会使用dislin或PLPLOT。 PGPLOT最后一次更新于2001年,只有一个FORTRAN 77接口,可以与Fortran 90/95/2003一起使用,但编译器将无法检查您的调用是否具有正确的参数。 另外两个有Fortran 95接口。 对于dislin和PLPLOT,我认为dislin有更好的记录。 dislin还提供GUI输入的小部件。 dislin可以免费用于某些用途; 对于商业用途,应该购买许可证。 PLPLOT是LGPL下的开源软件。


I've used PGPLOT, dislin and PLPLOT. In this era I'd use dislin or PLPLOT. PGPLOT was last updated in 2001 and only has a FORTRAN 77 interface, which can be used with Fortran 90/95/2003 but the compiler won't be able to check that your calls have the correct arguments. The other two have Fortran 95 interfaces. Of dislin and PLPLOT, I think dislin to be better documented. dislin also provides widgets for GUI input. dislin is free for some uses; for business uses one is supposed to purchase a license. PLPLOT is open source under the LGPL.

相关问答

更多
  • 在 linux 上用 intel fortran 或 gfortran 重新编译一下,然后运行即可
  • 1.我的测试结果,是在windows下执行效率快。我是用同样的Intel Fortran编译器进行测试的。优化参数也都一样。在windows下大约能快20%。在windows下用Compaq Fortran也是比Linux下用Intel Fortran快。原因不知道。正在猜想ing。2.无论什么平台的Fortran编译器,对于标准Fortran的语法之类的都是一样的。如果你都是遵循标准来写的话,两者是完全一样的。注意:在IBM UNIX下面的XLF编译器,对语法要求比较严格,写的时候要注意。其余像Intel ...
  • 考虑可能是文件系统格式问题 试试看dos2unxi,或者unix2dos这2个命令在文件传输以后。
  • 这应该做的伎俩 find . -name '*' -exec file {} \; | grep -o -P '^.+: \w+ image' 示例输出: ./navigation/doc/Sphärische_Trigonometrie-Dateien/bfc9bd9372f650fd158992cf5948debe.png: PNG image ./navigation/doc/Sphärische_Trigonometrie-Dateien/6564ce3c5b95ded313b84fa918b32 ...
  • GCC的Fortran编译器名称已更改: g77已被替换为gfortran ,后者处理Fortran 95以及可能更新的变体。 Ubuntu中的软件包叫做gfortran : sudo apt-get install gfortran (或使用突触) Fedora中的软件包名为gfortran,是gcc的一部分,您可能已经拥有: sudo yum install gcc (或使用pirut) 类似的搜索也适用于您的分配。 更新:在RedHat 4.1.2上,该软件包似乎被称为gcc4-gfortran ...
  • 开普勒和更新,即计算能力3.0及以上。 https://developer.nvidia.com/cudnn 支持在Windows,Linux和MacOS系统上使用Pascal,Kepler,Maxwell,Tegra K1或Tegra X1 GPU。 Kepler and newer, ie compute capability 3.0 and above. https://developer.nvidia.com/cudnn Supported on Windows, Linux and MacOS s ...
  • 你想要pygame , Allegro或SDL与SDL_gfx 。 所有这些都可以通过最流行的软件包存储库获得。 准备好习惯处理表面,图形基元,blitting等。 学习曲线并不大,但如果你以前从未做过图形,它仍然是一个重要的范例转变。 You want pygame, Allegro, or SDL with SDL_gfx. All of these are available through the most popular package repositories. Be prepared to g ...
  • 英特尔Fortran编译器可以“购买前试用”,您可以在此处找到它。 Intel Fortran compiler is available as "try before buy", you can find it here.
  • 您正在尝试将在MSYS下使用gfortran创建的DLL库与使用C ++的Visual Studio项目相结合。 在Windows中创建正确的DLL文件可能会非常棘手,原因很多,例如调用约定,编译器标志和函数可见性。 在经历gfortran时候一切正常可能在技术上是可行的,但不推荐。 有两种主要方法。 1)首先将Fortran代码转换为C或C ++,然后将该代码直接集成到主C ++项目中(最简单)或使用常规方法将其编译为DLL(最好使用Visual Studio保留单个工具链)。 您提到您有Fortran ...
  • 从字面上看,链接器可能正在寻找“libXaw.so”。 是在/ usr / lib中吗? 如果没有,您可以尝试将其添加为libXaw7.so.7.0.0中的另一个软链接。 The linker may be looking, literally, for "libXaw.so". Is that in /usr/lib? If not, you could try adding it as another soft link from libXaw7.so.7.0.0.

相关文章

更多

最新问答

更多
  • 在javascript中创建类以创建对象并在Java中创建类和对象之间的区别(Difference between creating a class in javascript to create an object and creating an class and object in Java)
  • Facebook API:将身份验证详细信息从Javascript SDK发送到PHP SDK(Facebook API: Send authentication detail from Javascript SDK to PHP SDK)
  • 如何停止队列动画jquery?(How can I stop queue animation jquery?)
  • 使用C#的井字游戏中的人工智能(Artificial Intelligence in Tic-Tac-Toe using C#)
  • 多少流量可以共享虚拟主机(对于Python Django站点)支持?(How Much Traffic Can Shared Web Hosting (for a Python Django site) support?)
  • 带有CIFilters的CAShapeLayer(CAShapeLayer with CIFilters)
  • 如何在Angular 2中读取JSON #text(How to read in Angular 2 the JSON #text)
  • 如何在xml中读取自闭标签的属性?(How to read self closing tag's attribute in xml?)
  • 无法使用http put将图像上传到亚马逊S3(Cannot upload image to amazon s3 using http put)
  • 文件结束无限循环(end of file infinite while-loop)
  • 在cpp的模板(template in cpp)
  • 在构建库时,clang和clang ++有什么区别?(What's the difference between clang and clang++ when building a library?)
  • ng类中的表达式(expression inside ng-class)
  • 在PHP中获取随机布尔值true / false(Get random boolean true/false in PHP)
  • 管道的高效分块用于严格的字节串(Efficient chunking of conduit for strict bytestring)
  • Python ternary_operator(如果其他标志做了其他操作,则执行其他操作)(Python ternary_operator (do-somthing if flag else do-another))
  • Sencha Touch面具发布(Sencha Touch mask ondisclosure)
  • 验证脚本上的通知[重复](Notices on validation script [duplicate])
  • 朋友功能(friend function)
  • 基于角坐标平移和变换平面几何(Translate and transform plane geometry based on corner coordinates)
  • Rails:'如果在本地运行'条件javascript标记包括(Rails: 'if running locally' conditional javascript tag include)
  • 解压文件(Unzipping files)
  • 使用ui-router以角度加载变量状态(loading in variable states with ui-router in angular)
  • 创建Azure云服务需要多长时间?(how long does it take to create an Azure Cloud Service? How to view log information?)
  • 指向整数的指针数组(Array of pointers to integers)
  • Laravel服务提供商没有看到我的包的主要类(Laravel service provider does not see the main class of my package)
  • 这个关于VSS / RSS / PSS / USS的解释是否准确?(Is this explanation about VSS/RSS/PSS/USS accurate?)
  • 在Django-Admin中通过row-id排序显示项目(Ordering the display items by row-id in Django-Admin)
  • 如何使用cythonize启用`--embed`?(How to enable `--embed` with cythonize?)
  • 用于将文本多行设置的Excel脚本(Excel script for ereasing text multiple rows)