Studiocode Tutorials | 6.2 Labels & Groups - Structure of Labels and Groups
Transcript
In this tutorial we're going to talk about the structure of labels and groups and codes.
For that matter in studio code it's important to have an understanding of this structure when you're building the code window so you can effectively leverage their power and other tools and studio code namely the matrix and this order.
So let me just demonstrate first set of these seven instances that I've coated in the timeline here. If I hover over an instance you can see that on all of these instances there are two labels one for the direction which the taxi entered the intersection and the other for the maneuver that it made whether it went straight or made a turn.
So let me open the matrix here on the timeline and we're not going to cover the matrix heavily I just want to open it and give you a sense of how the labels and groups are manifested here in the matrix. So you can see that code buttons namely the taxi blue taxi button in the code window translate two rows in the matrix conversely labels these yellow buttons translate to columns and remember if I double click here on north and just to open this inspector the group was created by entering the name here for any given label so you should always assign labels to groups and thus the group now is translated over to the matrix as this overarching concept that helps categorize your labels.
So in the matrix now I know that in the taxi row I have two instances that have the South label on it right and the group's just help visually organize the columns so I'll close the matrix when they close the inspector and now I'll demonstrate this how some of this information pays you back on this order.
Again I'm not going to cover this too heavily but if I select the instances and I click order it'll take these instances and dump them into what we call this order window and now you can see that each row here is an instance actually let me hit position. That'll sort of organized they click it again that'll sort of organize my windows here a little more neatly so the time lines up on the top right now less orders at the bottom but each row in this order is an instance so this first instance is in the taxi row it's instance number one.
This column is called transcription which I won't cover right now but you can see that the labels are neatly displayed per instance here and then they're categorized in columns by the group name here at the top so in terms of looking at your data at a glance or maybe more in a spreadsheet style like this the groups translate the column headers. Labels populate into those corresponding columns and of course the code buttons translate to row names in their own column here.
So hopefully seeing the matrix and the solder give you a little better idea of sort of a domino effect of creating labels and groups in the code window initially and how those trickle down in other analysis tools in studio code.
Thanks for watching.