Ticket #9057 (closed: invalid)

Opened 7 years ago

Last modified 5 years ago

Set correct titles when plotting from the table

Reported by: Arturs Bekasovs Owned by: Arturs Bekasovs
Priority: minor Milestone: Release 3.2
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

Run the following script first:

t = WorkspaceFactory.createTable()
t.addColumn("int", "Number")
t.addColumn("double", "Power")

for i in range(10):
        t.addRow([i, 2**i])

mtd.addOrReplace("table", t)

w = importTableWorkspace("table")

Now plot the created table.

In the created plot, all the titles have their default values. The following should be set correctly:

  • Graph (window) title: should mention the name of the table used to create the plot
  • Plot (layer) title: e.g. "Plot of " + table name
  • X and Y axis titles: names of the columns used

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

comment:2 Changed 7 years ago by Arturs Bekasovs

  • Status changed from assigned to verify
  • Resolution set to invalid

I've investigated the issue, and decided that it wouldn't be really useful. I'll very rarely be able to find the right titles, because columns plotted might be quite heterogeneous and I don't know any details about them (e.g. units), not to mention they might be from different tables (e.g. if you are using plot wizard). This means that scientists will want to change the title anyway and default ones make it more obvious that you can change them.

If the issue is raised by scientists, I'll discuss the options with them and will have use cases to base my decision on. Meanwhile, closing the ticket.

comment:3 Changed 7 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:4 Changed 7 years ago by Nick Draper

  • Status changed from verifying to closed

approved

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9900

Note: See TracTickets for help on using tickets.