Dear all,
I would very much appreciate your help for the following problem: I need to produce a time-course graph containing four lines, each reflecting the probability (Y-axis in %) to several points in time (X-axis in ms) to one specific type of stimulus (1 - 4). Time-range is from 200 to 2000ms (X-axis), divided into 100ms intervals. Data involves 32 values (which are mean proportions from 32 items in %) for each interval and stimulus type. Thus the points of the lines are to depict the mean of 32 values each. Now the aspect making things more complicated: I have to produce several graphs, each excluding some of the values (e.g. in interval from 500-600ms the value for stimulus type B of item 13). How can I arrange data appropriately to produce the described line graph AND to just deactivate several of the proportion values by using (e.g.) the select function? At the moment my table contains one column for each interval and stimulus-type (1_200, 2_200, 3_200, 4_200, 1_300...), consisting of 32 rows with the respective values (in row 1 the value for Item 1 and so on)... Thanks a lot for your help, Tanja |
Short answer if you can generate a line graph you are happy with, you can use a temporary select if statement before generating the graph to remove certain values. Long example below - IMO your data is stored in a weird and inconvenient format, and so I go through several intermediate steps to get the final outcome. Also it isn't really clear what you want to happen when "deselect" values. Here it just draws a line through the missing values as if nothing else changed, if you don't want it to draw a line other measures will need to be taken.
You may also want to consider plots that draw error bars (should be simple to add in the above set up if all your cells have exactly 32 values). Here I give an example on the developerworks forum. |
Free forum by Nabble | Edit this page |