Skip to content

Axes scale #16

Description

@YitengDang

The scale of the axes seems hard to fix in the simulation app. For correct positioning of the cells, the ratio between x and y axes should be sqrt(3)/2. I've now used the command
set(ax, 'PlotBoxAspectRatioMode', 'manual');
set(ax, 'PlotBoxAspectRatio', [1+2*d sqrt(3)/2+2*d 1]);
when initializing the lattice. However, this does not always seem to work and resizing the window sometimes have bad effects.

app_resize

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions