Skip to content

how to change the label of the axis in the plots #27

Discussion options

You must be logged in to vote

No, you cannot do that with an option. What you can do is to define your function as:
f(x) = sin(x*π)
Then you can add some text like "times pi" on the right:

#hide
PlotWidth = 350
PlotHeight = 250
#show
f(x) = sin(x*π)
'<p style="float:left;"> 
$Plot{f(x) @ x = 0 : 2}
'</p>
'<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>× π

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ebrahim-Mahmoud
Comment options

Answer selected by Proektsoftbg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants