Subject: mailing-list for TeXmacs Users
List archive
- From: vincent douce <address@concealed>
- To: address@concealed
- Subject: [texmacs-users] Fwd: plotting function
- Date: Wed, 1 Jan 2025 12:49:35 +0100
Début du message réexpédié :De: vincent douce <address@concealed>Objet: Rép. : [texmacs-users] plotting functionDate: 1 janvier 2025 à 12:49:24 UTC+1À: Giovanni Piredda <address@concealed>hello Giovannithank for your patienceeverything is okthe « pad » for drawing with the grid : the shortcut is readythe arrow :readysee picturehere the code belownow my work is to put some rationality in the keyboard combinations for my shortcutsmaybe something like « p p p something » for probabilities « f f f something » for functionsany ideas welcomewhen it is ready, maybe middle januard, i send my work to you, this list, and Max as your suggested to meVincent;---------------------- flèches(kbd-map ("w x c v" (insert ';copier coller apres ca;(folded (document; (concat (small (slink "")) "réponses (cliquer sur " (math "<circ>") ")"); ); (document ""));(with "arrow-end" "|<gtr>" (line (point "-1.5" "-0.5") (point "-0.5" "0.5")))(draw-over ""(with "gr-mode" (tuple "edit" "line")"gr-frame" (tuple "scale" "1cm" (tuple "0.6gw" "0.5gh"))"gr-transformation"(tuple(tuple "1.0" "-0.0" "-0.1" "0.0")(tuple "0.0" "1.0" "-0.1" "0.0")(tuple "0.1" "0.1" "1.0" "0.0")(tuple "0.0" "0.0" "0.0" "1.0"))(graphics(with "arrow-end" "|<gtr>"(line (point "-0.8" "-0.1") (point "0.0" "0.1")))))"2.0cm");copier coller avant ca)))Le 30 déc. 2024 à 20:36, Giovanni Piredda <address@concealed> a écrit :
On 30/12/24 19:40, vincent douce wrote:
ok Giovanni thanksso (insert may work in a TeXmacs’ Scheme session but may also bug i understandSaid in a different way, it is not programmed for that as far as I understand, so if it does not work well you need to write the code in a different way
<GraphiqueColl?-10.png>i find interesting the result of this (screenschot, sorry for the size i try to respect the limitation of this list)
do you know which code typing to have the axis/have the grid/modify the size of the picture (i.e. the scale)I would try it with the drawing tools, then copy the graph to TeXmacs Scheme :-)
thanks for the arrow i am going to implement it into my « tableau de variation » but that is not clear to me how to put this arrow in a cell (which in a tableau) of my « tableau de variations »
I would try assigning it to a keyboard shortcut:
(kbd-map ("a r r tab" (with "arrow-end" "|<gtr>" (line (point "-5" "0") (point "5" "0")))))
(did not test this code)
- [texmacs-users] Fwd: plotting function, vincent douce, 01/01/2025
Archive powered by MHonArc 2.6.24.