To organize the data and improve its readability, we have also added the VSFORMAT function. This is a separate function that works only inside the VSCOURT function. It allows you to specify the type of line, start and end symbol, as well as the colors. In addition, it can be used multiple times within the VSCOURT function.
For example, the function =VSCOURT(“*A”,”heatmap,arrows”,1.5,VSFORMAT(“”,”line-style:none,end-style:none”),VSFORMAT(“*A#”, “end-style:circle,start-style:plus”),VSFORMAT(“*X5#”, “start-color:red,end-color:red”)) displays the court below. The court shows attacks of the selected team (“*A”), using heatmaps and arrows (“heatmap,arrows”), at a scale of 1.5.
Besides that,:
- VSFORMAT(“”,”line-style:none,end-style:none”) shows all (“”) plays indicated in the VSCOURT(“*A”) function, where the line and end point are not visible (“line-style:none,end-style:none”),
- VSFORMAT(“*A#”,”end-style:circle,start-style:plus”) formats kill attacks of the selected team (“*A#”), so the end point is a circle and the start point is a plus (“end-style:circle,start-style:plus”),
- (VSFORMAT(“*X5#”,”start-color:red,end-color:red”) formats X5 kill attacks of the selected team (“*X5#”), so the start point and end point are marked in red (“start-color:red,end-color:red”).
The VSFORMAT function allows you to use:
- colors:
- red,
- green,
- blue,
- yellow,
- cyan,
- magenta,
- black,
- line styles:
- line,
- dashed,
- dotted,
- none,
- end/start lines:
- cross,
- circle,
- square,
- arrow,
- diamond,
- plus,
- none.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article