Toutes mes réponses sur les forums
-
AuteurMessages
-
25 juin 2024 à 07:35 en réponse à : Questionnement relatif à la mise à jour d’une ancienne version ? #8441
jm.evers
Participant::Hi,
Thanks to Olivier Bado, the chroot can be downloaded from:
https://wims.univ-cotedazur.fr/download/wims/chroot/wims.chroot.debian.6.1.90-1.x86_64.tar.gz
joke
23 juin 2024 à 10:03 en réponse à : Questionnement relatif à la mise à jour d’une ancienne version ? #8438jm.evers
Participant15 juin 2024 à 10:19 en réponse à : Questionnement relatif à la mise à jour d’une ancienne version ? #8435jm.evers
Participant::Hi,
In an ideal world the (linux 64bit) chroot should be checked and/or updated for every new wims release…
But for most the most part exercises should work fine, except for a few modules that use more recent versions / features of pari/gp, GNUplot or octave…
joke evers
ps
It’s no rocket science to create your own chroot !-
Cette réponse a été modifiée le il y a 1 année par
jm.evers.
jm.evers
Participant::well in the oef-help-docs, command ‘plot’, it says:
use command trange in parametric functions before every command curve / plot
A next parametric curve will only be correctly plot when trange is set again !
this is a design flaw and not a feature…In any case, I will look into this « design »-flaw
joke
jm.evers
Participantjm.evers
Participant::Well, it’s even beyond control of canvasdraw.h and canvasdraw…
The error messages on all (!) public wims servers are related to the HTTP request:Request-URI Too Long
The requested URL’s length exceeds the capacity limit for this server.
Apache/2.4.54 (Debian) Server at wims.univ-cotedazur.fr Port 443So any text string of this length sent to wims via http (direct exec or createxo) will produce an error…
joke
jm.evers
Participantjm.evers
Participant::Hi,
Added (SVN) to canvasdraw a new command :
newrange xmin,xmax,ymin,ymax
objects defined after command will make use of this new range
Be aware -for now- there can be only one command ‘grid’
An additional grid in the newly defined x/y-range must be created manually
(e.g. using commands like ‘segments’ ‘string’ etc etc etc)
[code]
size 400,400
xrange -10,10
yrange -10,10
fontfamily Italic 12px Courier
axis
axisnumbering
precision 1
grid 1,1,orange,10,10,2,orange
newrange 0,5,0,5
jscurve red,3*x+2
zoom red
[/code]Hope this solves your issue…
joke
jm.evers
Participant::Hi,
There is no way to (re)define multiple xrange/yrange in canvasdraw -if I understand your problem correctly… But mayb BPR’s trange trick may suit your needs.
A much more powerful grapher/plotter like GNUplot is probably better advised.
http://www.gnuplot.info/demo/joke
-
Cette réponse a été modifiée le il y a 2 années et 7 mois par
jm.evers.
jm.evers
Participantjm.evers
Participant::Hi,
This issue has been signalled before and don’t know how to correct it…
But we will look into it again.To clearly demonstrate the issue :
#####
size 400,400
xrange -10,10
yrange -10,10
noreset
dashtype 6,6
dashed
arrow -10,4,10,-9,10,blue
arrow -10,4,10,-8,10,blue
arrow -10,4,10,-7,10,blue
arrow -10,4,10,-6,10,blue
arrow -10,4,10,-5,10,blue
arrow -10,4,10,-4,10,blue
arrow -10,4,10,-3,10,blue
arrow -10,4,10,-2,10,blue
arrow -10,4,10,-1,10,blue
arrow -10,4,10,0,10,blue
arrow -10,4,10,1,10,blue
arrow -10,4,10,2,10,blue
arrow -10,4,10,3,10,blue
arrow -10,4,10,4,10,blue
arrow -10,4,10,5,10,blue
arrow -10,4,10,6,10,blue
arrow -10,4,10,7,10,blue
arrow -10,4,10,8,10,blue
arrow -10,4,10,9,10,blue
#####Using a smaller dashtype (2,2) will make things even worse…
joke
jm.evers
Participant::Hi,
This is clearly a bug : the ‘clear button’ removes also all ‘div’ elements from the canvas. Will be corrected for next release.
A quick fix is:— do not use command ‘clearbutton’ and use a right mouse click on arrow (or any other user drawn objects)
or
— use command ‘multidraw arrows’Joke
jm.evers
Participant::Thanks for the tip!
Added function plot to canvasdraw (uploaded to SVN)
The createxo answer type ‘multidraw’ is of course not updated##### size 400,400 xrange -10,10 yrange -10,10 fontfamily Italic 14px Helvetica axis axisnumbering precision 0 grid 2,2,grey,1,1,5,black multicolors red,green,blue linewidth 2 multidraw text,function,line #####
kind regards,
Jokejm.evers
Participant::Hi,
And -for now- even writing your own answertype will not work !
The command ‘userinput function’ is an alias for ‘userdraw function,color’
commands ‘userdraw’ and ‘multidraw’ are mutual exclusive…eg not to be combined.
Bernatette Perin has composed excellent live documentation in Createxo Help.Please read it..Joke
jm.evers
Participantjm.evers
Participantjm.evers
Participant::Hi,
I’m not sure what your problem is…but if unbalanced parenthesis is your issue, then use
\lpar \rpar \lbrace \rbrace \lbrack \rbrack
to avoid issues with Wims TeX processor:\statement{ <div class="wimscenter"> \(A_{i}=\Large\lpar \) \embed{reply1,6};\embed{reply2,6} \( \Large\rpar \) \(A_{i}=\Large\lbrace \) \embed{reply1,6};\embed{reply2,6} \( \Large\rbrace \) </div> } \answer{}{3}{type=numeric} \answer{}{3}{type=numeric}
kind regards,
joke-
Cette réponse a été modifiée le il y a 4 années par
jm.evers. Raison: typo
jm.evers
Participant::Uploaded to SVN a slightly improved version of canvasdraw
- dashing will still depend on angle of the object (html5 canvas ‘flaw’)
- dashing will still depend on individual browser
- corrected dashing in userdraw,multidraw
- corrected arrow head (it was dashed…)
Thank you for noticing !
(and please keep kicking it to find flaws and bugs !)joke
-
Cette réponse a été modifiée le il y a 1 année par
-
AuteurMessages