Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate an illustration of resistor color codes from a specified resistance
ResourceFunction["ResistorColorCode"][resistance,"ColorList"] generates a list of resistor color codes used to represent the specified resistance. | |
ResourceFunction["ResistorColorCode"][resistance,"Graphics"] generates a resistor color code illustration used to represent the specified resistance found in analog electronics. | |
ResourceFunction["ResistorColorCode"][<|"Resistance"→resistance,"Tolerance"→tolerance|>,prop] uses the specified resistance and tolerance. |
Generate a list of colors corresponding to a resistor color code for a given resistance:
In[1]:= |
Out[1]= |
Display a graphical representation of the resistor:
In[2]:= |
Out[2]= |
Generate a pair of images when there are two equivalent color code representations:
In[3]:= |
Out[3]= |
Generate a pair of color lists instead of graphics:
In[4]:= |
Out[4]= |
The final stripe represents the tolerance value:
In[5]:= |
Out[5]= |
In[6]:= |
Out[6]= |
Generate color lists including an entry for the tolerance:
In[7]:= |
Out[7]= |
When "Graphics" is specified, ResistorColorCode accepts the same options as Graphics:
In[8]:= |
Out[8]= |
ResistorColorCode can accept the results of the resource function FromResistorColorCode as an argument:
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License