Skip to content

Commit

Permalink
docs: explain the export functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
carrascomj committed Oct 20, 2023
1 parent ac748e9 commit 3a2029f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Controls
* :code:`+` and :code:`-` keys to scale up and down the legend. If :code:`Control` is pressed,
the Settings are scale
* :code:`s` to toggle axis mode, which shows the histogram axes and allows for scaling them.
* The `Settings` window can be used to change the appeareance and export the map as a json or an image.

Contents
--------
Expand Down
18 changes: 16 additions & 2 deletions docs/source/plotting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,23 @@ The generated file `flux_kcat_dist.metabolism.json` can be used like before at `

Notice how, there is not enough data to generate a meaningful histogram.

.. note::
Histogram position
------------------

Shu tries to fit the best plotting position next to the arrows with an heuristic
but it may fail for some reactions.

Try pressing right or middle mouse button in the middle of a histogram to
*rotate* or *move* it. If an x-axis of the side plots is too big or too small, press
`s` and the x-axes will be displayed. In this mode, the behavior of right clicks
is changed to now *scale* the axes.

After moving, rotating and scaling the axes as desired, all these new coordinates
can be saved to a new map in the settings window (only available for the desktop
app) for futures shu sessions.

Shu tries to fit the best position with an heuristic but it may fail for some reactions. Try pressing right or middle button in the middle of the a histogram to rotate or move it.
A PNG/JPEG/BMP/TGA image of the map can also be exported through the settings
window (for all platforms and web).

Hover
-----
Expand Down

0 comments on commit 3a2029f

Please sign in to comment.