ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 27 Jun 2022 16:36:05 +0200How can we label 3d cube?https://ask.sagemath.org/question/63031/how-can-we-label-3d-cube/If we use cube() function we get a nice cube without vertices labelled. I could not find any inbuilt method to label vertices. Is there any way to do this?aakkbbMon, 27 Jun 2022 16:36:05 +0200https://ask.sagemath.org/question/63031/Strange Error Message when Plotting with a LaTeX Legendhttps://ask.sagemath.org/question/52276/strange-error-message-when-plotting-with-a-latex-legend/The following code is from the 1st edition of my textbook, *Sage for Undergraduates*. It is producing some extremely unexpected errors (technically, deprication warnings). Something about an invalid escape sequence, `\i`, which I'm not using.
Can someone explain how I should change my code, so that these warnings do not appear?
Code:
`P1= text('$\int_0^2 \sqrt{x} \, dx$', (0.5, 1.1), fontsize=20)`
`P2= plot( sqrt(x), 0, 2, fill=True)`
`P= P1 + P2`
`P.show()`
Warning:
`<input>:1: DeprecationWarning: invalid escape sequence \i`
Quick Link:
https://sagecell.sagemath.org/?z=eJwVy8EKAiEURuF90Dv8i4FREtELLe87uGgptclIkLHGG0nRu-fszuI7wTMkdVHzFPMiF3cmxPZc5dt_iAbXPs0GytmjgbdeG9zqIi1_EpPT-10gxqNUUdgm1QdwBjRYLoVP6yttiBE8Dgg02rZ7fSv9B0vRIXA=&lang=sage&interacts=eJyLjgUAARUAuQ==Gregory BardWed, 01 Jul 2020 01:28:17 +0200https://ask.sagemath.org/question/52276/Graph with partial edge labellinghttps://ask.sagemath.org/question/43892/graph-with-partial-edge-labelling/ Hello all,
I need to draw a graph in which some edges are labelled and some edges are not.
I know how to make all the edges labelled. But I need mixed edges (some are labelled and some are not).
Kindly help me with this.
Thank youGA316Wed, 10 Oct 2018 09:04:43 +0200https://ask.sagemath.org/question/43892/