Opened 3 years ago

Closed 3 years ago

#6823 closed enhancement (fixed)

RFE: crosslinks histogram - save plot, control drawing parameters

Reported by: pimhitv@… Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Structure Analysis Version:
Keywords: Cc: Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

On May 10, 2022, at 2:06 AM, Pim Huis in 't Veld via ChimeraX-users <chimerax-users@…> wrote:

Dear ChimeraX team,
I am analysing multiple datasets generated using crosslinking-ms, loaded as separate pseudobond files on my model. The crosslinks histogram plots works just fine and I’d now like to put some plots neatly side-by-side. My questions:

  • can the histogram be saved or exported? Ideally as an svg or pdf file. But png or jpg would also already be useful.

I could export the .pb files and plot them elsewhere, but that seems like a workaround.

  • is it possible to specify the x and the y axis of the generated histograms, as well as the bin size? This would be helpful to show them side-by-side.

Many thanks in advance,
Pim

Change History (2)

comment:1 by Tom Goddard, 3 years ago

Saving the plot as svn pr pdf or png was added to the daily build (not in 1.4), ticket #6896.

comment:2 by Tom Goddard, 3 years ago

Cc: Elaine Meng added
Resolution: fixed
Status: assignedclosed

Done.

I added options to the "crosslinks histogram" command "bins", maxLength, minLength, height. Default is 50 bins. Min and max crosslink length control the range on the x axis. Pseudobonds outside the range are not plotted. If not specified then the range is the minimum and maximum of the actual pseudobond lengths. Height is the y range of the plot, a count of crosslinks in per bin, if not specified it adjust to the tallest bin.

These are in the daily build that will become ChimeraX 1.5. They are not in ChimeraX 1.4.

Note: See TracTickets for help on using tickets.