fawlty/idl programming language
fawlty/idl programming language
in reference to viewtopic.php?p=260876#p260876 dodicat's mention of the fawlty programming language https://www.flxpert.hu/fl/ and https://www.harrisgeospatial.com/Softwa ... L#language
it looks like a nice interpreter geared for graphic visualization of data.
my only complaint is that you can't just embed the functionality into a FB program, if only there were a static library that one could use in ones programs.
making a web search I found some online documentation on the IDL language, looks very similar to Basic with a touch of Pascal.
as for DISLIN https://www.mps.mpg.de/dislin, I tried it once but it seemed too complicated to me at the time.
it looks like a nice interpreter geared for graphic visualization of data.
my only complaint is that you can't just embed the functionality into a FB program, if only there were a static library that one could use in ones programs.
making a web search I found some online documentation on the IDL language, looks very similar to Basic with a touch of Pascal.
as for DISLIN https://www.mps.mpg.de/dislin, I tried it once but it seemed too complicated to me at the time.
-
- Posts: 2958
- Joined: Jun 02, 2015 16:24
Re: fawlty/idl programming language
Scilab has good capabilities for being controled from the command line it seems. Maybe worth a try. I wonder if we could get XCAS do (and return) some symbolic calculation for us the same way.srvaldez wrote: my only complaint is that you can't just embed the functionality into a FB program, if only there were a static library that one could use in ones programs.
https://help.scilab.org/docs/6.0.2/en_US/scilab.html
https://www-fourier.ujf-grenoble.fr/~parisse/giac.html
Re: fawlty/idl programming language
gnuplot does quite well in choosing default values like x and y range and other options to make it easy to use, what I would like to have is the plot functionality of Mathematica in a library, where you can can make a 3d-plot with a simple command like Plot3D[Sin[x + y^2],{x,-3,3}, {y,-2,2}]
-
- Posts: 2958
- Joined: Jun 02, 2015 16:24
Re: fawlty/idl programming language
I use wxMaxima. It's not the Mathematica of course but I find it easy and useful (and comes for free).srvaldez wrote:gnuplot does quite well in choosing default values like x and y range and other options to make it easy to use, what I would like to have is the plot functionality of Mathematica in a library, where you can can make a 3d-plot with a simple command like Plot3D[Sin[x + y^2],{x,-3,3}, {y,-2,2}]
Code: Select all
wxplot3d(x*y, [x,-5,5], [y,-5,5]);
I'm not good with external libraries linking and using from inside FB. And here it's some C++ stuff, it may be difficult to interface.https://www-fourier.ujf-grenoble.fr/~pa ... l#Examples
https://www-fourier.ujf-grenoble.fr/~parisse/giac.html
Giac is a C++ library, it is the CAS computing kernel
Re: fawlty/idl programming language
right, only a heavy-weight expert could tackle that one.Tourist Trap wrote: Giac is a C++ library, it is the CAS computing kernel
I'm not good with external libraries linking and using from inside FB. And here it's some C++ stuff, it may be difficult to interface.
Re: fawlty/idl programming language
TTrap
I download and tried that wxMaxima
hmmm...i found examples and open file ..but how to run this "thing"...
seems little bit confusing..
I download and tried that wxMaxima
hmmm...i found examples and open file ..but how to run this "thing"...
seems little bit confusing..
-
- Posts: 2958
- Joined: Jun 02, 2015 16:24
Re: fawlty/idl programming language
Hi aurelVZAB,aurelVZAB wrote:TTrap
I download and tried that wxMaxima
hmmm...i found examples and open file ..but how to run this "thing"...
seems little bit confusing..
I have had Maxima on Windows since years, it sometimes crash of course, but it generally does pretty well the job (formal algebra). If you are used to Mathematica it will be a matter of seconds to get started with it. For instance, use SHIFT+ENTER to get a numerical result. It's also recommended to use the menus at first when you don't know the right command. For most usual things, you'll find some menu that helps do the job.
Recently I solved formally the bilinear system of equation for graphics in a couple of minutes with Maxima:
I use it here: viewtopic.php?f=15&t=24370&p=259135#p259056.a = ((((x3-x2)*xB+(x2-x3)*xA)*y2+((x1-x3)*xC+(x3-x1)*xA)*y1+((x3-x0)*xC+(x0-x3)*xB)*y0)*y3+(((x2-x1)*xD+(x1-x2)*xA)*y1+((x0-x2)*xD+(x2-x0)*xB)*y0)*y2+((x1-x0)*xD+(x0-x1)*xC)*y0*y1)/((((x1-x0)*x3+(x0-x1)*x2)*y2+((x0-x2)*x3+x1*x2-x0*x1)*y1+((x2-x1)*x3-x0*x2+x0*x1)*y0)*y3+(((x2-x1)*x3-x0*x2+x0*x1)*y1+((x0-x2)*x3+x1*x2-x0*x1)*y0)*y2+((x1-x0)*x3+(x0-x1)*x2)*y0*y1)
b = (((x1-x0)*x3*xC+(x0-x2)*x3*xB+(x2-x1)*x3*xA)*y3+((x0-x1)*x2*xD+(x2*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0*x2+x0*x1)*y1+((x0-x2)*x3+x1*x2-x0*x1)*y0)*y2+((x1-x0)*x3+(x0-x1)*x2)*y0*y1)
h = -((((x0*x2-x0*x1)*y1+(x0*x1-x1*x2)*y0)*y2+(x1-x0)*x2*y0*y1)*yD+(((x0*x1-x0*x3)*y1+(x1*x3-x0*x1)*y0)*y3+(x0-x1)*x3*y0*y1)*yC+(((x0*x3-x0*x2)*y2+(x0*x2-x2*x3)*y0)*y3+(x2-x0)*x3*y0*y2)*yB+(((x1*x2-x1*x3)*y2+(x2*x3-x1*x2)*y1)*y3+(x1-x2)*x3*y1*y2)*yA)/((((x1-x0)*x3+(x0-x1)*x2)*y2+((x0-x2)*x3+x1*x2-x0*x1)*y1+((x2-x1)*x3-x0*x2+x0*x1)*y0)*y3+(((x2-x1)*x3-x0*x2+x0*x1)*y1+((x0-x2)*x3+x1*x2-x0*x1)*y0)*y2+((x1-x0)*x3+(x0-x1)*x2)*y0*y1)
Re: fawlty/idl programming language
Octave ( the open source matlab compatible) is also quite usable.
During a research period, I hooked up a bunch of batchfiles, .m scripts and some pascal code (*) to script together processing incoming data and make plots. I think I originally mostly started it, because I found a bunch of matlab fft related scripts.
I didn't have much matlab experience, so it took some getting used to, but the result was fairly productive. The idea however was that a co-worker would also adopt it, but that never happened, to this day he still messes with excel sheets, and does long series of repetitive actions when he tries to figure out if some of the dataexports still makes sense.
(*) mostly to decode some binary data and other textfiles to simple files with a float per line that could be loaded into a vector. Here people would of course use FB.
During a research period, I hooked up a bunch of batchfiles, .m scripts and some pascal code (*) to script together processing incoming data and make plots. I think I originally mostly started it, because I found a bunch of matlab fft related scripts.
I didn't have much matlab experience, so it took some getting used to, but the result was fairly productive. The idea however was that a co-worker would also adopt it, but that never happened, to this day he still messes with excel sheets, and does long series of repetitive actions when he tries to figure out if some of the dataexports still makes sense.
(*) mostly to decode some binary data and other textfiles to simple files with a float per line that could be loaded into a vector. Here people would of course use FB.
Last edited by marcov on May 21, 2019 13:38, edited 1 time in total.
Re: fawlty/idl programming language
Hi TT
I tried all of them Mathworks,octave
this maxima is heavy version of wxPython..right?
I don't say that is bad just i don't have any experience with it.
I tried all of them Mathworks,octave
this maxima is heavy version of wxPython..right?
I don't say that is bad just i don't have any experience with it.
-
- Posts: 2958
- Joined: Jun 02, 2015 16:24
Re: fawlty/idl programming language
Hi aurelVZAB,aurelVZAB wrote: this maxima is heavy version of wxPython..right?
the Maxima engine itself is something very solid. The front-end maybe is related to wxPython, so the name of wxMaxima for the version with the GUI. I don't use any other versions anyway.
But you are right, wxMaxima can feel slow, and maybe weird when you don't know what you want to do at first. It's just that the last versions of the GUI are a lot more responsive than that it used to be before :)
My preference would be Mathematica over all of them. But I'm no more a student, and have no more cheap access to it. As well as for Mapple .etc..
For numerical stuff we have plenty of choice, for formal algebra it's harder. I used to love DERIVE in the past on DOS, but it's under licence too.
http://maxima.sourceforge.net/
Maxima is a descendant of Macsyma, the legendary computer algebra system developed in the late 1960s at the Massachusetts Institute of Technology. It is the only system based on that effort still publicly available and with an active user community, thanks to its open source nature. Macsyma was revolutionary in its day, and many later systems, such as Maple and Mathematica, were inspired by it.