Using the PV array block in Simulink I have been able to graph PV and IV curves with varying irradiance OR varying temperature but not both, and the temperature cannot go negative either. 
This shows the varying irradiance and the corresponding graphs
This shows with the varying temperature (positive only)
I need to be able to make graphs like these but with varying irradiance AND temperature as well as let the temperature go negative.
I have looked at the documentation and have not found an equation or code that is used to produce these graphs but I have found other codes similar but are slightly different therefore I cannot use them for sake of accuracy. Therefore my main question is is there a way to use this block in simulink to graph both varying irradiance and temperature or is there a code/equation that is used to produce these that I could use in normal MATLAB?