-
Notifications
You must be signed in to change notification settings - Fork 333
Description
Steps to reproduce
- Do a Loop over a parameter (with not many steps)
egdata1 = qc.Loop(v1.power[1,5,1]).each(v1.trace())
- Plot data using MatPlot
egqc.MatPlot(data1.magnitude)
Expected behaviour
Hence I expect a measurements at power = 1,2,3,4 (although I also think it's worth a discussion over whether this is a bit misleading and it should include 5 but I realise that's a deliberate data acquisition decision). The plot should reflect this and have each measurement 'sweep/point' centred on the corresponding power at which it was measured.
Actual behaviour
Data acquisition is fine and plots fine in QtPlot but MatPlot shifts the data so that the centre of my power=1 data is at 1.5 etc and then my power=4 data is thrown away. In other words the plot shows data from power = 1-4 but am actually plotting data from 1=3 and shifting it all up by half so on the power axis what is shown between 1 and 2 is my data from my measurment at power=1 and so on.
System
T5 Windows (sorry haven't checked version)
ZNB20_2 branch (merged master 8th July morning)