User forums > Using Code::Blocks

Scientific graphics: 2D plots & 3D surface & contour plots

(1/2) > >>

_neil_:
I'd like to use Code:Blocks to run scientific programs in C and Fortran (simulations and processing experimental data) then plot the results in a variety of forms for analysis. In the source code i'd like to be able to call simple functions eg plot(x,y) for a 2D plot or plot3d(x,y,z) to get a surface or contour plot, without baggage (eg. a whole series of commands defining axes, borders etc). This convenience is how things work in languages of Matlab and IDL, but i'm looking to replace these with opensource equivalents. Might there be a convenient graphics package (either part of Code:Blocks or third party software) i can use with Code:Blocks to do this easily?

many thanks for any help,
Neil

stefanos_:
Greetings Neil.

I have seen a Code::Blocks version for Fortan, and perhaps is what you are looking for.

This is the link http://darmar.vgtu.lt/ ; I have found it with Google's help.

I am pretty sure that the project's maintainer will gladly going to help you or even ask for your participation to his project since you are sharing a more-or-less common goal.

I know nothing about Fortran, therefore I cannot help you with your requests.

xunxun:
You can use mathgl.
It has C and Fortran Interface.

MortenMacFly:

--- Quote from: stefanos_ on May 30, 2012, 07:41:42 am ---I have seen a Code::Blocks version for Fortan, and perhaps is what you are looking for.

--- End quote ---
Notice its a Fortran plugin for Code::Blocks (actually these are two: The Fortran project and formatter plugin). You could use these in "standard" C::B, too. They are pretty good work! I am using them myself when I have to develop in Fortran from time to time.

xunxun:

--- Quote from: MortenMacFly on May 30, 2012, 10:45:27 am ---
--- Quote from: stefanos_ on May 30, 2012, 07:41:42 am ---I have seen a Code::Blocks version for Fortan, and perhaps is what you are looking for.

--- End quote ---
Notice its a Fortran plugin for Code::Blocks (actually these are two: The Fortran project and formatter plugin). You could use these in "standard" C::B, too. They are pretty good work! I am using them myself when I have to develop in Fortran from time to time.

--- End quote ---

I think we can integrate the plugin to C::B trunk plugin?

Navigation

[0] Message Index

[#] Next page

Go to full version