I'm currently using this code
\documentclass{article}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{graphicx}
\renewcommand{\thefigure}{\Roman{figure}}
\captionsetup[figure]{labelsep=period}
\begin{document}
\begin{figure}[!htb]
\caption{Optimal Claims}\label{optimalclaims}
\centering
\begin{subfigure}[H]{0.49\textwidth}
\includegraphics[width=\textwidth]{Plot1.pdf}
\medbreak
\subcaption{X}\label{our}
\end{subfigure}
\hfill
\begin{subfigure}[H]{0.49\textwidth}
\includegraphics[width=\textwidth]{Plot2.pdf}
\medbreak
\subcaption{Y}\label{mascu}
\end{subfigure}
\end{figure}
\end{document}
Which generates this output (when running this MWE on your computer, choose any two images, name them Plot1.pdf and Plot2.pdf and save them in the same folder as the main .tex file; it should compite without problems):
I have been trying to modify the numbering of the subcaptions by looking at this link, but with no success. Instead of (a) X and (b) Y, I would like to get I.a. X and I.b. Y. Can anybody please help me achieve so?
Thank you all very much in advanced for your time and effort.


II.AandII.Binstead ofI.AandI.B. I'll look into it tomorrow. – EoDmnFOr3q Apr 10 '18 at 00:02\label-\refmechanism) to objects of typesubcaption. – Mico Apr 10 '18 at 00:15\documentclass[a4paper]{scrartcl}instead of\documentclass[a4paper]{article}. When using\documentclass[a4paper]{article}, your answer works as expected. Whenever using\documentclass[a4paper]{scrartcl}, I getII.a. andII.binstead of the desiredI.a.andI.b.. Do you know why is this so? And, more importantly: can this miss-behaviour be avoided? – EoDmnFOr3q Apr 10 '18 at 00:27articledocument class when, in fact, you not only not use that class but actually use one --scrartcl-- which for which thesubcaptionpackage doesn't work correctly. I would never have written the answer I did if I'd known that you employ thescrartcldocument class. I would like to suggest that you either edit your posting to provide a more relevant MWE or post an entirely new query, this time with all relevant. I wish I could simply delete my answer, but that's not possible for answers that have received the "accept" check-mark. – Mico Apr 10 '18 at 04:46