[genius] Fri Dec 23 00:43:15 2016 Jiri (George) Lebl <jirka 5z com>
- From: George Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] Fri Dec 23 00:43:15 2016 Jiri (George) Lebl <jirka 5z com>
- Date: Fri, 23 Dec 2016 06:42:54 +0000 (UTC)
commit 9d84c909d63a07dd232b8c716bea7b776cfc1fcb
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date: Fri Dec 23 00:43:25 2016 -0600
Fri Dec 23 00:43:15 2016 Jiri (George) Lebl <jirka 5z com>
* examples/*.gel: reset variable names for surfaces. For shocks also
add commented out code to plot the result as a surface
* po/eo.po: update
ChangeLog | 7 ++
examples/laplace-fdm.gel | 3 +
examples/lorenz.gel | 3 +
examples/peano.gel | 3 +
examples/shocks.gel | 20 +++++-
examples/standing-waves.gel | 3 +
examples/vibrating-drumhead-modes.gel | 3 +
po/eo.po | 125 ++++++++++++++++++++++++---------
8 files changed, 133 insertions(+), 34 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2dc3069..66001ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Dec 23 00:43:15 2016 Jiri (George) Lebl <jirka 5z com>
+
+ * examples/*.gel: reset variable names for surfaces. For shocks also
+ add commented out code to plot the result as a surface
+
+ * po/eo.po: update
+
Wed Dec 21 22:45:28 2016 Jiri (George) Lebl <jirka 5z com>
* src/gnome-genius.c: do not set parent on the
diff --git a/examples/laplace-fdm.gel b/examples/laplace-fdm.gel
index f795d0e..f428261 100644
--- a/examples/laplace-fdm.gel
+++ b/examples/laplace-fdm.gel
@@ -49,6 +49,9 @@ for n=1 to intervals+1 do
# don't draw the legend
SurfacePlotDrawLegends = false;
+# use standard variable names (in case they got reset)
+SurfacePlotVariableNames = ["x","y","z"];
+
PlotWindowPresent(); # Make sure the window is raised
# plot the data
diff --git a/examples/lorenz.gel b/examples/lorenz.gel
index 17b091f..d07dbaa 100644
--- a/examples/lorenz.gel
+++ b/examples/lorenz.gel
@@ -25,6 +25,9 @@ SurfacePlotDrawLegends = false;
# manually
SurfacePlotClear ();
PlotWindowPresent(); # Make sure the window is raised
+#
+# use standard variable names (in case they got reset)
+SurfacePlotVariableNames = ["x","y","z"];
# Note that we are picking out just the x coordinates
SurfacePlotDrawLine (pt@(,2:4), "color", "blue", "window", "fit");
diff --git a/examples/peano.gel b/examples/peano.gel
index 0210b4a..f5abd0e 100644
--- a/examples/peano.gel
+++ b/examples/peano.gel
@@ -26,6 +26,9 @@ for r=0 to 0.25 by 0.02 do (
SurfacePlotDrawLegends = false; # don't draw the legend
PlotWindowPresent(); # Make sure the window is raised
+# use standard variable names (in case they got reset)
+SurfacePlotVariableNames = ["x","y","z"];
+
# Plot the data
SurfacePlotData(data);
diff --git a/examples/shocks.gel b/examples/shocks.gel
index e135098..f04ff9b 100644
--- a/examples/shocks.gel
+++ b/examples/shocks.gel
@@ -4,6 +4,10 @@
# We are looking at characteristics (looking for shocks)
# for the equation u_t + g(u) u_x = 0, with initial condition
# u(x,0) = phi(x)
+#
+# At the end of this example, there is also commented out code
+# for plotting a surface of the solution, though that does not
+# deal well with shocks.
# this is for flux u*(2-u)
#function g(u) = 2-2*u;
@@ -52,4 +56,18 @@ function the_color(x0) = [phi(x0), #red
# Draw characteristics
for x0=xstart to xend by xstep do (
LinePlotDrawLine([x0,0;x0+g(phi(x0))*tend,tend], "color", the_color (x0))
-)
+);
+
+# Draw the solution set as a surface graph. If there are shocks, the
+# graph will be unpredictable. Use for standard parameters something
+# like tend=0.99. Also good to change xstart and xend to someting like
+# -1 and 1.5 for a nicer picture
+#
+#SurfacePlotVariableNames = ["x","t","u"];
+#data = null;
+#for x0=xstart to xend by xstep do (
+# for t=0 to tend by tend/10.0 do (
+# data = [data;[x0+g(phi(x0))*t,t,phi(x0)]];
+# )
+#);
+#SurfacePlotData(data);
diff --git a/examples/standing-waves.gel b/examples/standing-waves.gel
index 807ba0a..20bd263 100644
--- a/examples/standing-waves.gel
+++ b/examples/standing-waves.gel
@@ -15,6 +15,9 @@ if the_answer == 1 then (
) else if the_answer == 2 then (
SurfacePlotDrawLegends = false;
+ # use standard variable names (in case they got reset)
+ SurfacePlotVariableNames = ["x","y","z"];
+
for t=1 to 100 by 0.1 do (
SurfacePlot(`(x,y)=cos(t)*sin(x-y),[-5,5,-2,2,-1,1])
)
diff --git a/examples/vibrating-drumhead-modes.gel b/examples/vibrating-drumhead-modes.gel
index 5a1960b..553495d 100644
--- a/examples/vibrating-drumhead-modes.gel
+++ b/examples/vibrating-drumhead-modes.gel
@@ -79,6 +79,9 @@ if the_answer == 1 then (
SurfacePlotDrawLegends = false; # don't draw the legend
PlotWindowPresent(); # Make sure the window is raised
+# use standard variable names (in case they got reset)
+SurfacePlotVariableNames = ["x","y","z"];
+
#One mode
if n >= 0 then (
for t=0.0 to 10.0 by 0.01 do (
diff --git a/po/eo.po b/po/eo.po
index 6afe600..e4aee49 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: genius master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-12-21 16:20-0600\n"
+"POT-Creation-Date: 2016-12-23 00:42-0600\n"
"PO-Revision-Date: 2016-05-23 17:46-0500\n"
"Last-Translator: Jiri Lebl <jirka 5z com>\n"
"Language-Team: Esperanto <gnome-eo-list gnome org>\n"
@@ -33,6 +33,8 @@ msgid ""
"Print a table of values for f(n) for numbers from vector v, or if v is a "
"number for integers from 1 to v"
msgstr ""
+"Printi tabelon de valoroj de f(n) por nombroj de vektoro v, aŭ se v estas "
+"nombro, por entjeroj de 1 al v"
#: ../lib/library-strings.c:4
msgid "Make a string"
@@ -52,24 +54,27 @@ msgid ""
"How many successive steps to be within tolerance for calculation of "
"continuity"
msgstr ""
+"Esti kiom da sinsekvaj paŝoj en la tolera intervalo por kalkulado de "
+"kontinueco"
#: ../lib/library-strings.c:8
msgid "Tolerance for continuity of functions and for calculating the limit"
-msgstr ""
+msgstr "Tolero por kontinueco de funkcio kaj kalkulado de limesoj"
#: ../lib/library-strings.c:9
msgid "How many iterations to try to find the limit for derivative"
-msgstr ""
+msgstr "Provi kiom da iteracioj por trovi la limeson por derivaĵo"
#: ../lib/library-strings.c:10
msgid ""
"How many successive steps to be within tolerance for calculation of "
"derivative"
msgstr ""
+"Esti kiom da sinsekvaj paŝoj en la tolera intervalo por kalkulado de derivaĵo"
#: ../lib/library-strings.c:11
msgid "Tolerance for calculating the derivatives of functions"
-msgstr ""
+msgstr "Tolero por kalkulado de derivaĵoj de funkcioj"
#: ../lib/library-strings.c:12
msgid "Tolerance of the ErrorFunction (used for complex values only)"
@@ -81,7 +86,7 @@ msgstr "Tolero de la funkcio GaussDistribution"
#: ../lib/library-strings.c:14
msgid "The function used for numerical integration in NumericalIntegral"
-msgstr ""
+msgstr "La funkcio uzita por nombra integrado en NumericalIntegral"
#: ../lib/library-strings.c:15
msgid "Steps to perform in NumericalIntegral"
@@ -89,13 +94,15 @@ msgstr "Kiom da ŝtupoj fari en NumericalIntegral"
#: ../lib/library-strings.c:16
msgid "How many iterations to try for InfiniteSum and InfiniteProduct"
-msgstr ""
+msgstr "Provi kiom da iteracioj por InfiniteSum kaj InfiniteProduct"
#: ../lib/library-strings.c:17
msgid ""
"How many successive steps to be within tolerance for InfiniteSum and "
"InfiniteProduct"
msgstr ""
+"Esti kiom da sinsekvaj paŝoj en la tolera intervalo por InfiniteSum kaj "
+"InfiniteProduct"
#: ../lib/library-strings.c:18
msgid "Tolerance for InfiniteSum and InfiniteProduct"
@@ -336,7 +343,7 @@ msgstr ""
#: ../lib/library-strings.c:71
msgid "Removes all instances of the factor m from the number n"
-msgstr ""
+msgstr "Forpreni ĉiujn aperojn de la faktoro m el la nombro n"
#: ../lib/library-strings.c:72
msgid ""
@@ -809,7 +816,7 @@ msgstr ""
#: ../lib/library-strings.c:181
msgid "Calculate the nth triangular number"
-msgstr ""
+msgstr "Kalkuli la n-an triangularan nombron"
#: ../lib/library-strings.c:182
msgid "Calculate permutations"
@@ -1774,7 +1781,7 @@ msgstr "Adicio"
#: ../src/eval.c:6714
msgid "Element by element addition"
-msgstr ""
+msgstr "Elemento post elemento adicio"
#: ../src/eval.c:6715
msgid "Subtraction"
@@ -1782,7 +1789,7 @@ msgstr "Subtraho"
#: ../src/eval.c:6716
msgid "Element by element subtraction"
-msgstr ""
+msgstr "Elemento post elemento subtraho"
#: ../src/eval.c:6717
msgid "Multiplication"
@@ -1790,7 +1797,7 @@ msgstr "Multipliko"
#: ../src/eval.c:6718
msgid "Element by element multiplication"
-msgstr ""
+msgstr "Elemento post elemento multipliko"
#: ../src/eval.c:6719
msgid "Division"
@@ -1798,23 +1805,23 @@ msgstr "Divido"
#: ../src/eval.c:6720
msgid "Element by element division"
-msgstr ""
+msgstr "Elemento post elemento divido"
#: ../src/eval.c:6721
msgid "Back division"
-msgstr ""
+msgstr "Maldekstra divido"
#: ../src/eval.c:6722
msgid "Element by element back division"
-msgstr ""
+msgstr "Elemento post elemento maldekstra divido"
#: ../src/eval.c:6723
msgid "Modulo"
-msgstr "Module"
+msgstr "Modulo"
#: ../src/eval.c:6724
msgid "Element by element modulo"
-msgstr ""
+msgstr "Elemento post elemento modulo"
#: ../src/eval.c:6725
msgid "Negation"
@@ -1826,7 +1833,7 @@ msgstr "Potenco"
#: ../src/eval.c:6727
msgid "Element by element power"
-msgstr ""
+msgstr "Elemento post elemento potenco"
#: ../src/eval.c:6728
msgid "Factorial"
@@ -1850,26 +1857,26 @@ msgstr "Komparo (<=>)"
#: ../src/eval.c:6733
msgid "XOR"
-msgstr ""
+msgstr "Malinkluziva aŭo"
#: ../src/eval.c:6734
msgid "NOT"
-msgstr ""
+msgstr "Logika neo"
#: ../src/eval.c:6754
#, c-format
msgid "Bad types for '%s'"
-msgstr ""
+msgstr "Malbona tipoj por '%s'"
#: ../src/eval.c:6765
#, c-format
msgid "%s not defined on <%s> and <%s>"
-msgstr ""
+msgstr "%s ne difinita sur <%s> kaj <%s>"
#: ../src/eval.c:6784
#, c-format
msgid "Bad type for '%s'"
-msgstr ""
+msgstr "Malbona tipo por '%s'"
#: ../src/eval.c:6794
#, c-format
@@ -1878,12 +1885,12 @@ msgstr "%s ne difinita sur <%s>"
#: ../src/eval.c:6814 ../src/eval.c:6831
msgid "Vector building only works on numbers"
-msgstr ""
+msgstr "Vektora konstruado funkcias nur kun nombroj"
#. FIXME: perhaps we should just return null like octave?
#: ../src/eval.c:6824
msgid "Impossible arguments to vector building operator"
-msgstr ""
+msgstr "Neeblaj argumentoj por vektora konstruado"
#: ../src/funclib.c:124
#, c-format
@@ -1893,7 +1900,7 @@ msgstr "%s: argumento tro granda"
#: ../src/funclib.c:151
#, c-format
msgid "Cannot parse version string: %s"
-msgstr ""
+msgstr "Ne povas sintakse analizi ĉeno: %s"
#: ../src/funclib.c:180 ../src/gnome-genius.c:1982
#, c-format
@@ -1914,6 +1921,22 @@ msgid ""
" You should have received a copy of the GNU General Public License\n"
" along with this program. If not, see <http://www.gnu.org/licenses/>.\n"
msgstr ""
+"Genius %s\n"
+"%s\n"
+"\n"
+" Ĉi tiu verko estas libera programo; vi povas ĝin pludistribui kaj/aŭ\n"
+" modifi je la kondiĉoj de la GNUa Ĝenerala Publika Permesilo,\n"
+" eldonita de «Free Software Foundation», laŭ la versio 2 de tiu\n"
+" Permesilo aŭ, se vi preferas, ajna posta versio.\n"
+"\n"
+" Ni distribuas ĉi tiun programon esperante ke ĝi estos utila, tamen\n"
+" SEN IA AJN GARANTIO, i.a. sen la implica garantio pri SURMERKATIGEBLO\n"
+" aŭ TAŬGECO POR IU KONKRETA CELO. Pliajn detalojn vidu en la GNUa\n"
+" Ĝenerala Publika Permesilo.\n"
+"\n"
+" Ekzemplero de la GNUa Ĝenerala Publika Permesilo devas esti liverita\n"
+" al vi kun ĉi tiu programo; se vi ĝin ne vidu\n"
+" <http://www.gnu.org/licenses/>.\n"
#: ../src/funclib.c:274
#, c-format
@@ -1944,6 +1967,8 @@ msgid ""
"\n"
"Function call stack:\n"
msgstr ""
+"\n"
+"Stako de funkciaj alvokoj:\n"
#: ../src/funclib.c:730 ../src/funclib.c:770 ../src/gnome-genius.c:1215
#: ../src/gnome-genius.c:1272
@@ -2055,17 +2080,17 @@ msgstr "%s: vektora argumento ne enhavas nur valoroj (nombroj)"
#: ../src/funclib.c:3753 ../src/funclib.c:3792
#, c-format
msgid "%s: argument can't be negative or 0"
-msgstr ""
+msgstr "%s: argumento ne povas esti negativa aŭ 0"
#: ../src/funclib.c:3761 ../src/funclib.c:3797
#, c-format
msgid "%s: vector argument has too large entries"
-msgstr ""
+msgstr "%s: vektora argumento havas tro grandaj elementoj"
#: ../src/funclib.c:3839
#, c-format
msgid "%s: arguments must be vectors of equal size"
-msgstr ""
+msgstr "%s: argumentoj devas esti vektoroj de egalaj grandecoj"
#: ../src/funclib.c:4331 ../src/funclib.c:4337
#, c-format
@@ -2075,7 +2100,7 @@ msgstr ""
#: ../src/funclib.c:4376
#, c-format
msgid "%s: matrices not of the same height"
-msgstr ""
+msgstr "%s: matricoj ne havas la saman altecon"
#: ../src/funclib.c:4381 ../src/funclib.c:5024
msgid "third argument"
@@ -2088,7 +2113,7 @@ msgstr "kvara argumento"
#: ../src/funclib.c:4661
#, c-format
msgid "%s: argument must be greater than 2"
-msgstr ""
+msgstr "%s: argumento devas esti pli granda ol 2"
#: ../src/funclib.c:4849
#, c-format
@@ -3178,6 +3203,30 @@ msgid ""
"\t--exec=expr \tExecute an expression\n"
"\n"
msgstr ""
+"Genius %s uzado:\n"
+"\n"
+"genius [modifiloj] [dosieroj]\n"
+"\n"
+"\t--help \tMontri ĉi tiun helpon\n"
+"\t--version \tMontri versia nombro\n"
+"\t--precision=nom \tPrecizeco de glitpunktnombroj [128]\n"
+"\t--maxdigits=nom \tMaksimumo da eraroj por eligi (0=sen limo) [0]\n"
+"\t--[no]floatresult \tĈiuj rezultoj kiel glitpunktnombroj [malŝal.]\n"
+"\t--[no]scinot \tRezultoj en scienca notacio [malŝal.]\n"
+"\t--[no]fullexp \tĈiam eligi tutajn esprimojn [malŝal.]\n"
+"\t--maxerrors=nom \tMaximumo da eraroj por montri (0=sen limo) [5]\n"
+"\t--[no]mixed \tEligi frakciojn kiel miksitaj\n"
+"\t--intoutbase=nom \tBazo por eligo de entjeroj [10]\n"
+"\t--chop=nom \tHaki etaj nombroj malpli ol 10^-nom [20]\n"
+"\t--chopwhen=nom \tSed nur kiam aliaj nombro 10^-nom aŭ pli [5]\n"
+"\t--[no]readline \tUzi readline se ĝi disponeblas [ŝal.]\n"
+"\t--[no]compile \tKompili ĉion kaj eligi ĝin al stdout [malŝal.]\n"
+"\t--[no]gettext \tEligi helpajn/erarajn ĉenojn en falsaj .c\n"
+"\t \tdosieroj al stdout (por gettext) [malŝal.]\n"
+"\t--[no]quiet \tSilenti dum ne-dialoga reĝimo,\n"
+"\t \t(ĉiam dum kompilado) [malŝal.]\n"
+"\t--exec=espr \tRuli esprimon\n"
+"\n"
#: ../src/genius.c:520
#, c-format
@@ -3207,7 +3256,7 @@ msgid ""
"The only thing that interferes with my learning is my education. -- Albert "
"Einstein"
msgstr ""
-"La sola afero kiu interferas al mia lernado estas mia eduko. -- Albert "
+"La sola afero kiu interferas mian lernadon estas mia eduko. -- Albert "
"Einstein"
#: ../src/genius.c:625 ../src/genius.c:696
@@ -3351,7 +3400,7 @@ msgstr "_Relegi el disko"
#: ../src/gnome-genius.c:302
msgid "Reload the selected program from disk"
-msgstr "Relegi la elektan programon el disko"
+msgstr "Relegi la elektitan programon el disko"
#: ../src/gnome-genius.c:305
msgid "_Close"
@@ -3846,6 +3895,9 @@ msgid ""
"you wish to interrupt the calculation or continue.\n"
"Setting to 0 disables the limit."
msgstr ""
+"Kiam genius atingas la limon, ĝi demandas al vi\n"
+"se vi volas interrompi la aktualan kalkuladon aŭ\n"
+"daurigi ĝin. Se la agordo estas 0, ne estas limo."
#: ../src/gnome-genius.c:2662
msgid "Maximum number of nodes to allocate"
@@ -3857,6 +3909,9 @@ msgid ""
"\n"
"Please try again later or interrupt the current operation."
msgstr ""
+"<b>Genius aktuale rulas ion.</b>\n"
+"\n"
+"Bonvolu provi denove pli poste, aŭ interrompi la aktualan kalkuladon."
#: ../src/gnome-genius.c:2745
msgid "GEL files"
@@ -3980,6 +4035,9 @@ msgid ""
"\n"
"Create a new program, or select an existing tab in the notebook."
msgstr ""
+"<b>Neniu programon elektitan.</b>\n"
+"\n"
+"Kreu novan programon, aŭ elektu ekzistantan langeton."
#: ../src/gnome-genius.c:4266
#, c-format
@@ -4009,6 +4067,7 @@ msgstr "Genius %s"
#: ../src/gnome-genius.c:4632
msgid "Memory (node number) limit has been reached, interrupt the computation?"
msgstr ""
+"Memora limo (nombro da nodoj) estas atingita, interrompi la komputadon?"
#. error
#. always textbox
@@ -4017,7 +4076,7 @@ msgstr ""
#. wrap
#: ../src/gnome-genius.c:4746
msgid "Can't execute genius-readline-helper-fifo!\n"
-msgstr ""
+msgstr "Ne povas ruli genius-readline-helper-fifo!\n"
#: ../src/gnome-genius.c:4807
msgid "Readline helper died, weird. Trying to recover, things may be odd."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]