Opened 8 years ago

Closed 8 years ago

#17969 closed enhancement (fixed)

A tutorial on How to draw polytope in Tikz

Reported by: Jean-Philippe Labbé Owned by:
Priority: minor Milestone: sage-6.7
Component: geometry Keywords: tikz, polytope, plot, days64
Cc: Moritz Firsching, Vincent Knight Merged in:
Authors: Jean-Philippe Labbé Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: 67d3c0e (Commits, GitHub, GitLab) Commit: 67d3c0e1ab0e055bd65d0cc9c8a621eb4939e9b3
Dependencies: Stopgaps:

Status badges

Description

I prepared a tutorial to show how to use the method .tikz() of a polytope.

You can visualize a version at http://www.math.huji.ac.il/~labbe/polytope.html

This tutorial is meant to make the previous page more permanent.

Change History (18)

comment:1 Changed 8 years ago by Jean-Philippe Labbé

Branch: u/jipilab/tutotikz

comment:2 Changed 8 years ago by git

Commit: aef237afa83bc8332e616e1bbbcef157ae582f35

Branch pushed to git repo; I updated commit sha1. New commits:

aef237aShortened the lines to fit convention

comment:3 Changed 8 years ago by git

Commit: aef237afa83bc8332e616e1bbbcef157ae582f354ba288e383a612b1740c8c6899be9619357c9177

Branch pushed to git repo; I updated commit sha1. New commits:

4ba288eCorrected a typo

comment:4 Changed 8 years ago by Jean-Philippe Labbé

Status: newneeds_review

comment:5 Changed 8 years ago by Nathann Cohen

Helloooooo !

I just wanted to bring to your attention that we can now include pictures easily in Sage's doc. Just in case you would find it useful for this tutorial. The methods is explained there:

https://groups.google.com/d/topic/sage-devel/qR2t4LunLJg/discussion

Nathann

comment:6 Changed 8 years ago by Jean-Philippe Labbé

Super! I'll include them!

comment:7 Changed 8 years ago by Julien Puydt

Status: needs_reviewneeds_work

Please add an author.

comment:8 Changed 8 years ago by Jean-Philippe Labbé

Authors: Jean-Philippe Labbé
Keywords: days64 added

comment:9 Changed 8 years ago by Julien Puydt

Status: needs_workneeds_review

comment:10 Changed 8 years ago by Jean-Philippe Labbé

Status: needs_reviewneeds_work

I would try to use the comment of Nathan to put images in the tutorial, I'm working on it currently.

comment:11 Changed 8 years ago by Julien Puydt

Sorry, I thought you forgot to change it back. Sorry for the inconvenience.

comment:12 Changed 8 years ago by Vincent Knight

Cc: Vincent Knight added

comment:13 Changed 8 years ago by git

Commit: 4ba288e383a612b1740c8c6899be9619357c9177ef8f4986f3c62481eec62940cf40258d282383cc

Branch pushed to git repo; I updated commit sha1. New commits:

2d3f871Changed some picture code
ef8f498Removed the tried code to include pictures

comment:14 Changed 8 years ago by Jean-Philippe Labbé

Status: needs_workneeds_review

Unfortunately, I believe adding tikz code to the documentation deserves more work than fulfilling the actual ticket. Therefore, I simply reverted to the previous version.

You may want to have a look at my try within the version "2d3f871". This was producing a picture when building the doc(!) and then putting the .py code in the .html. This is not really what is desired, but was a try.

I believe this thread in sage devel is perhaps good about this:

https://groups.google.com/forum/#!topic/sage-devel/qR2t4LunLJg

For now, including tikz code in the doc should deserve its own ticket I guess...

comment:15 Changed 8 years ago by Frédéric Chapoton

Branch: u/jipilab/tutotikzpublic/ticket/17969
Commit: ef8f4986f3c62481eec62940cf40258d282383cc67d3c0e1ab0e055bd65d0cc9c8a621eb4939e9b3
Reviewers: Frédéric Chapoton

Looks good to me. And very useful ! I have already used that at least twice using intructions on your web pages, and it is good to make it available as a tutorial.

If you agree with my review commit (small changes mainly), then please set to positive review.


New commits:

93b4ca0Merge branch 'u/jipilab/tutotikz' into 6.6.rc2
67d3c0etrac #17969 review commit

comment:16 Changed 8 years ago by Jean-Philippe Labbé

Status: needs_reviewpositive_review

Hi Frédéric!

Thanks a lot for the detailed review!

I agree with the changes and set to positive review.

comment:17 Changed 8 years ago by Frédéric Chapoton

Milestone: sage-6.6sage-6.7

comment:18 Changed 8 years ago by Volker Braun

Branch: public/ticket/1796967d3c0e1ab0e055bd65d0cc9c8a621eb4939e9b3
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.