Opened 7 years ago

Last modified 5 months ago

#10867 new enhancement

Binary Quadratic forms graphics routines for plotting level sets on a lattice

Reported by: jonhanke Owned by: justin
Priority: minor Milestone: sage-6.4
Component: quadratic forms Keywords: quadratic, binary, ellipse, graphics
Cc: jonhanke, was, tornaria, rlm Merged in:
Authors: Jonathan Hanke Reviewers:
Report Upstream: N/A Work issues:
Branch: u/chapoton/10867 (Commits) Commit: c322697cf64733617fe97449fe6a82d12a01e2cd
Dependencies: Stopgaps:

Description

This patch introduces some nice graphics routines to the BinaryQF class for displaying (filled) level sets Q(x,y) = m, against the integer lattice, and for highlighting the lattice points on the level set. There are also additional options for customizing the resulting graphic (size, color, thickness, etc.).

Note: This code presently only applies to positive definite binary quadratic forms.

Attachments (1)

binary_qf_graphics__15057.patch (10.1 KB) - added by jonhanke 7 years ago.

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by jonhanke

comment:1 Changed 4 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:2 Changed 4 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:3 Changed 4 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:4 Changed 3 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:5 Changed 3 years ago by chapoton

  • Branch set to u/chapoton/10867
  • Commit set to c26ae9fbfb337e71972e30ae5145355755b9a0a6

New commits:

b84cb9eAdded some ellipse info, plotting and spectral decomposition routines for BinaryQFs.
c26ae9ftrac #10867 first draft

comment:6 Changed 3 years ago by git

  • Commit changed from c26ae9fbfb337e71972e30ae5145355755b9a0a6 to ca8888576706a01b52e08a93011b5243d82bdbb3

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

ca88885Merge branch 'u/chapoton/10867' of ssh://trac.sagemath.org:22/sage into 6.5.b4

comment:7 Changed 21 months ago by git

  • Commit changed from ca8888576706a01b52e08a93011b5243d82bdbb3 to 4846b2310f06f7086044a88c69ac3e935c2dbbaf

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

4846b23Merge branch 'u/chapoton/10867' into 7.1.b5

comment:8 Changed 20 months ago by kcrisman

  • Cc rlm added; rlmiller removed

comment:9 Changed 5 months ago by git

  • Commit changed from 4846b2310f06f7086044a88c69ac3e935c2dbbaf to c322697cf64733617fe97449fe6a82d12a01e2cd

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

c322697Merge branch 'u/chapoton/10867' in 8.0.b9
Note: See TracTickets for help on using tickets.