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.Sun, 29 Dec 2013 23:40:41 +0100Collapsing cells - comments in directiveshttps://ask.sagemath.org/question/8121/collapsing-cells-comments-in-directives/Dear all,
I know that with the directive '%hide' at the beginning of a cell it can be collapsed. It is useful, but it would be much more if I could see something else from the collapsed cell, in addition to the '%hide'. So, is there any trick?
Putting a comment in the first line and the '%hide' in the second does not work, neither putting a comment in the same line that '%hide'.
Thanks!JesustcThu, 19 May 2011 10:11:38 +0200https://ask.sagemath.org/question/8121/when use @hide,cannot appears againhttps://ask.sagemath.org/question/10861/when-use-hidecannot-appears-again/when use @hide,the all codes cannot clear,I try many times.
I want appear the the codes,no hide, but still hide all the time,some time a grey line appear,but codes still hide
http://sagenb.skku.edu/home/cjsh/39/
cjshSun, 29 Dec 2013 23:40:41 +0100https://ask.sagemath.org/question/10861/practical documentation for sage; e.g. `%hide` and `%hideall`https://ask.sagemath.org/question/9941/practical-documentation-for-sage-eg-hide-and-hideall/I cannot seem to find documentation on `%hide` and `%hideall`. It doesn't seem like the reference manual has any information on these two directives/commands, while the built-in command line help system just gives errors for queries like `%hide?` (perhaps I'm not using the correct syntax?). `askSage` only has a few postings on this, which are only partially helpful to me.
I guess my general question is: for someone who is still very much a novice to python and sage, how would one go about learning more about specific commands like `%hide`.
Also, and apologies for smuggling in a second question, how do I unhide a cell in a sage notebook after I've already hidden it with `%hide`?sabbatini.lucaSun, 24 Mar 2013 17:17:27 +0100https://ask.sagemath.org/question/9941/Server/Client hide code, 3D Animation, etc (bachelor thesis)https://ask.sagemath.org/question/9873/serverclient-hide-code-3d-animation-etc-bachelor-thesis/Right now I am evaluting for my bachelor thesis in computer science wich software would be the best to create graphical plots for learning-algorithms like backpropagation (neural networks) oder k-nearest-neighbor (classification) and so on.
Sage seems to be very powerful and covers A HUGE AMOUNT of my needs..
Still.. I could not find an easy way to hide the sourcecode to a user. I require this since I am going to implement some examples for students which they will have to solve on their own. This is why I cannot provide any sourcecode. (%hideall is NOT enough)
I know how I would do this but is there already an easy way to accomplish that?
The other thing is this..
I'd like to create partly interactive 3D animations, for example gradient descent. A student should be able to adapt the learning rate and it would be great if the 3D plot got an animated line that slowly finds its way to the minimal error.
Thank you for your answers.snoocMon, 04 Mar 2013 10:10:29 +0100https://ask.sagemath.org/question/9873/Hide source code on published worksheethttps://ask.sagemath.org/question/9834/hide-source-code-on-published-worksheet/Displaying code for readers might be helpful but there are times when hiding them makes the published worksheet more readable, especially when you use sagenotebook for demonstration rather than for tutorials. For my case, I've used %hide in each cell to hide the cells and code(http://alpha.sagenb.org/home/pub/445/). However the published worksheet always displays the code which is undesirable. Is there anyway to surpress sagenotebook from displaying the cells that include sage commands? ZhengFri, 22 Feb 2013 20:11:23 +0100https://ask.sagemath.org/question/9834/