Skip to Content.
Sympa Menu

texmacs-users - [texmacs-users] Fwd: plotting function

Subject: mailing-list for TeXmacs Users

List archive

Chronological Thread  
  • 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 function
Date: 1 janvier 2025 à 12:49:24 UTC+1
À: Giovanni Piredda <address@concealed>

hello Giovanni
thank for your patience
everything is ok
the « pad » for drawing with the grid : the shortcut is ready
the arrow :
ready
see picture

here the code below

now my work is to put some rationality in the keyboard combinations for my shortcuts

maybe something like « p p p something » for probabilities « f f f something » for functions 

any ideas welcome

when it is ready, maybe middle januard, i send my work to you, this list, and Max as your suggested to me

Vincent



;---------------------- 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 thanks
so (insert may work in a TeXmacs’ Scheme session but may also bug i understand

Said 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.

Top of Page