bmv
|
Archangel
|
|
|
|
Рег.: 22.11.2003
|
Сообщений: 9597
|
Из: Universe
|
Рейтинг: 1431
|
|
GNU Octave 3.0 released
23.12.2007 22:04
|
|
|
Не прошло и 11-ти лет. Возрадуемся этому знаменательному событию.
http://www.gnu.org/software/octave/
В ответ на:
News for Octave Version 3
* Compatibility with Matlab graphics is much better. We now have some graphics features that work like Matlab's Handle Graphics (tm): o You can make a subplot and then use the print function to generate file with the plot. o RGB line colors are supported if you use gnuplot 4.2. Octave can still use gnuplot 4.0, but there is no way to set arbitrary line colors with it when using the Matlab-style plot functions. There never was any way to do this reliably with older versions of gnuplot (whether run from Octave or not) since it only provided a limited set to choose from, and they were terminal dependent, so choosing color 1 with the X11 terminal would be different from color 1 with the PostScript terminal. Valid RGB colors for gnuplot 4.0 are the eight possible combinations of 0 and 1 for the R, G and B values. Invalid values are all mapped to the same color.
This also affects patch objects used in the bar, countour, meshc and surfc functions, where the bars and contours will be monochrome. A workaround for this is to type "colormap gmap40" that loads a colormap that in many cases will be adequate for simple bar and contour plots. o You can control the width of lines using (for example):
line (x, y, "linewidth", 4, "color", [1, 0, 0.5]);
(this also shows the color feature). o With gnuplot 4.2, image data is plotted with gnuplot and may be combined with other 2-d plot data. o Lines for contour plots are generated with an Octave function, so contour plots are now 2-d plots instead of special 3-d plots, and this allows you to plot additional 2-d data on top of a contour plot. o With the gnuplot "extended" terminals the TeX interpreter is emulated. However, this means that the TeX interpreter is only supported on the postscript terminals with gnuplot 4.0. Under gnuplot 4.2 the terminals aqua, dumb, png, jpeg, gif, pm, windows, wxt, svg and x11 are supported as well. o The following plot commands are now considered obsolete and will be removed from a future version of Octave:
__gnuplot_set__ __gnuplot_show__ __gnuplot_plot__ __gnuplot_splot__ __gnuplot_replot__
Additionally, these functions no longer have any effect on plots created with the Matlab-style plot commands (plot, line, mesh, semilogx, etc.). o Plot property values are not extensively checked. Specifying invalid property values may produce unpredictible results. o Octave now sends data over the same pipe that is used to send commands to gnuplot. While this avoids the problem of cluttering /tmp with data files, it is no longer possible to use the mouse to zoom in on plots. This is a limitation of gnuplot, which is unable to zoom when the data it plots is not stored in a file. Some work has been done to fix this problem in newer versions of gnuplot (> 4.2.2). See for example, this thread on the gnuplot development list. * The way Octave handles search paths has changed. Instead of setting the built-in variable LOADPATH, you must use addpath, rmpath, or path to manipulate the function search path. These functions will maintain "." at the head of the path, for compatibility with Matlab.
Leading, trailing or doubled colons are no longer special. Now, all elements of the search path are explicitly included in the path when Octave starts. To display the path, use the path function.
Path elements that end in // are no longer searched recursively. Instead, you may use addpath and the genpath function to add an entire directory tree to the path. For example,
addpath (genpath ("~/octave"));
will add ~/octave and all directories below it to the head of the path. * Previous versions of Octave had a number of built-in variables to control warnings (for example, warn_divide_by_zero). These variables have been replaced by warning identifiers that are used with the warning function to control the state of warnings.
For example, instead of writing
warn_divide_by_zero = false;
to disable divide-by-zero warnings, you should write
warning ("off", "Octave:divide-by-zero");
You may use the same technique in your own code to control warnings. For example, you can use
warning ("My-package:phase-of-the-moon", "the phase of the moon could cause trouble today");
to allow users to control this warning using the "My-package:phase-of-the-moon" warning identifier.
You may also enable or disable all warnings, or turn them into errors:
warning ("on", "all"); warning ("off", "all"); warning ("error", "Octave:divide-by-zero"); warning ("error", "all");
You can query the state of current warnings using
warning ("query", ID) warning ("query")
(only those warning IDs which have been explicitly set are returned).
A partial list and description of warning identifiers is available using
help warning_ids
* All built-in variables have been converted to functions. This change simplifies the interpreter and allows a consistent interface to internal variables for user-defined packages and the core functions distributed with Octave. In most cases, code that simply accesses internal variables does not need to change. Code that sets internal variables will change. For example, instead of writing
PS1 = ">> ";
you will need to write
PS1 (">> ");
If you need write code that will run in both old and new versions of Octave, you can use something like
if (exist ("OCTAVE_VERSION") == 5) ## New: PS1 (">> "); else ## Old: PS1 = ">> "; endif
* For compatibility with Matlab, the output order of Octave's "system" function has changed from
[output, status] = system (cmd);
to
[status, output] = system (cmd);
* For compatibility with Matlab, normcdf, norminv, normpdf, and normrnd have been modified to compute distributions using the standard deviation instead of the variance. * For compatibility with Matlab, the output of Octave's fsolve function has been changed from
[x, info, msg] = fsolve (...);
to
[x, fval, info] = fsolve (...);
* For compatibility with Matlab, normcdf, norminv, normpdf, and normrnd have been modified to compute distributions using the standard deviation instead of the variance. * For compatibility with Matlab, gamcdf, gaminv, gampdf, gamrnd, expcdf, expinv, exppdf and exprnd have been modified to compute the distributions using the standard scale factor rather than one over the scale factor.
Как всегда все уже лежит на локальном зеркале. Ожидаем резкой активизации в разработке GUI. К уже известным Koctave и octave-workshop недавно добавился qtoctave. Последние версии очень приличные. Ждем апдейтов от этих трех проектов.
|
Transit-forever Mageia Linux provider
|
|
bmv
|
Archangel
|
|
|
|
Рег.: 22.11.2003
|
Сообщений: 9597
|
Из: Universe
|
Рейтинг: 1431
|
|
Re: GNU Octave 3.0 released
[re: bmv]
06.03.2008 22:52
|
|
|
В ответ на:
Ожидаем резкой активизации в разработке GUI. К уже известным Koctave и octave-workshop недавно добавился qtoctave. Последние версии очень приличные. Ждем апдейтов от этих трех проектов.
Ну вот она и произошла.
Octclipse - Octave development environment built upon Eclipse's Dynamic Languages Toolkit (http://www.eclipse.org/dltk/)
http://sourceforge.net/project/showfiles.php?group_id=206461
|
Transit-forever Mageia Linux provider
|
|
Leo
|
|
|
|
|
Рег.: 06.12.2002
|
Сообщений: 4547
|
Из: 51.5252 N, 0.1322 W
|
Рейтинг: 548
|
|
Re: GNU Octave 3.0 released
[re: bmv]
07.03.2008 12:20
|
|
|
отсюда (сравнение matlab vs python+numpy+weave):
Quote:
matlab and numpy have pretty much the same performances. any form of optimization on python code does better than matlab. only the simple python (without numpy) is slower than matlab (note the logarithmic y scale to fit also the 'slow' algorithm). ... here is some other digits, not included in the graphs: * octave runs twice as slow as numpy and matlab.
|
// Leo |
|
bmv
|
Archangel
|
|
|
|
Рег.: 22.11.2003
|
Сообщений: 9597
|
Из: Universe
|
Рейтинг: 1431
|
|
Re: GNU Octave 3.0 released
[re: Leo]
07.03.2008 12:56
|
|
|
Там не сказано какой октав использовался.
|
Transit-forever Mageia Linux provider
|
|
L_ED
|
capal Tonnel
|
|
|
|
Рег.: 04.06.2006
|
Сообщений: 12359
|
Из: город, страна и т.п.
|
Рейтинг: 8589
|
|
Re: GNU Octave 3.0 released
[re: bmv]
07.03.2008 18:19
|
|
|
Хех скачал. Надо ставить. Нету ни у кого мана, чтоб в ПДФ был(а то он на сайте платный =( ), ну или на крайняк скаченного в HTML?
|
|
|
reincarnation
|
knight
|
|
|
|
Рег.: 12.09.2006
|
Сообщений: 719
|
|
Рейтинг: 666
|
|
Re: GNU Octave 3.0 released
[re: L_ED]
07.03.2008 18:44
|
|
|
|
bmv
|
Archangel
|
|
|
|
Рег.: 22.11.2003
|
Сообщений: 9597
|
Из: Universe
|
Рейтинг: 1431
|
|
Re: GNU Octave 3.0 released
[re: L_ED]
07.03.2008 21:39
|
|
|
В ответ на:
Нету ни у кого мана, чтоб в ПДФ был(а то он на сайте платный =( ), ну или на крайняк скаченного в HTML?
Мануал для чего именно?
|
Transit-forever Mageia Linux provider
|
|
L_ED
|
capal Tonnel
|
|
|
|
Рег.: 04.06.2006
|
Сообщений: 12359
|
Из: город, страна и т.п.
|
Рейтинг: 8589
|
|
|
еслиб я мог скачать с неофицалки.. (( если можешь на почту кинуть, буду благодарен
denzens(at)gmail.com
|
|
|
L_ED
|
capal Tonnel
|
|
|
|
Рег.: 04.06.2006
|
Сообщений: 12359
|
Из: город, страна и т.п.
|
Рейтинг: 8589
|
|
Re: GNU Octave 3.0 released
[re: bmv]
08.03.2008 02:17
|
|
|
|
bmv
|
Archangel
|
|
|
|
Рег.: 22.11.2003
|
Сообщений: 9597
|
Из: Universe
|
Рейтинг: 1431
|
|
Re: GNU Octave 3.0 released
[re: L_ED]
08.03.2008 04:39
|
|
|
В ответ на:
ну мануал по октаве. Там команды, функции... как ползоваться, короче вот это http://www.network-theory.co.uk/octave/manual/
Это по старому октаву. А то, что ты просишь выслать и так есть в каждом релизе. octave-3.0.0.tar.gz/octave-3.0.0/doc Тут все необходимое есть. Оно должно вмести с бинарной версией для твоего дистриба поставляется. Если нет отдельно типа octave-doc, то оно скорее всего внутри просто octave.
|
Transit-forever Mageia Linux provider
|
|
bmv
|
Archangel
|
|
|
|
Рег.: 22.11.2003
|
Сообщений: 9597
|
Из: Universe
|
Рейтинг: 1431
|
|
Re: GNU Octave 3.0 released
[re: bmv]
30.04.2008 01:49
|
|
|
Вышел octave-forge-bundle-20080429.tar.gz Темпы развития поражают.
Видимо выход стабильной тройки подхлестнул многих разработчиков.
Изменения: В ответ на:
Release of Octave-forge tested against Octave 3.0.1. Many packages will also function function with earlier versions of Octave 2.9. Notable changes in this release include:
* ann: New package for Octave bindings to the ANN library for nearest neighbor calculation. * database: New package to allow postgres, mysql, sqlite, and standard ODBC database commands from within Octave. * video: New package with bindings to ffmpeg to add handling of video files from within Octave. * bioinfo: New package for Bioinformatics manipulation. * data-smoothing: New package with algorithms for smoothing noisy data. * ga: New package with basic genetic algorithm optimization functions. * missing-functions: New package to identify functions that are missing from Octave relative to the latest verson of Matlab. * ftp: New package to ftp from within Octave * ocs: A new package for circuit simulation. * fixed: Build fix for Unix, cygwin and mingw platforms. * plot: Remove old plot code based on Xlib and replace with gtext, ginput and waitforbuttonpress functions that use gnuplot directly to obtan the required information. Add colstyle function. * signal: Add the window and buffer functions. * mapping: Add the km2deg and reckon functions. * image: Add the imcomplement and rgbplot functions. Support for bilateral filtering. Build fixes for new versions of ImageMagick. * miscellaneous: Add the hex2num and num2hex functions. * odepkg: Added ddaskr based solver. * splines: Add the catmullrom interpolation function. * financial: Add the rsindex function. * time: Add the thirdwednesday function. * general: Add the saveprod function. * general bug fixes and improvements.
Для нелокальных ищем файлы как всегда тут: http://sourceforge.net/project/showfiles.php?group_id=2888&a... А локально файлы лежат по обычно на моем серваке: ftp://bmv/pub/soft/Scientific
|
Transit-forever Mageia Linux provider
|
|
|
|