Skip to main content
Commonmark migration
Source Link

#MATLAB, 24 bytes

MATLAB, 24 bytes

Second attempt, now actually conforming to the rules.

imshow(0:1/49:1,'I',2e3)

The 'I' stands for 'InitialMagnification', but apparently Matlab will autocomplete names in name/value pairs. Sure is a good golfing trick!

enter image description here

#MATLAB, 24 bytes

Second attempt, now actually conforming to the rules.

imshow(0:1/49:1,'I',2e3)

The 'I' stands for 'InitialMagnification', but apparently Matlab will autocomplete names in name/value pairs. Sure is a good golfing trick!

enter image description here

MATLAB, 24 bytes

Second attempt, now actually conforming to the rules.

imshow(0:1/49:1,'I',2e3)

The 'I' stands for 'InitialMagnification', but apparently Matlab will autocomplete names in name/value pairs. Sure is a good golfing trick!

enter image description here

Post Undeleted by Sanchises
deleted 107 characters in body
Source Link
Sanchises
  • 9.5k
  • 1
  • 36
  • 61

#MATLAB, 1624 bytes

I don't get why the MATLAB people here are missingSecond attempt, now actually conforming to the obviousrules.

imshow(0:1/49:1,'I',2e3)

This gives

Actual output

I'll admit, the squares are the size of no more than 1 pixelThe 'I' stands for 'InitialMagnification', but size doesn't matter, right? EDIT: Wait, it doesapparently Matlab will autocomplete names in name/value pairs. GimmeSure is a moment :)good golfing trick!

Kudos for anyone who can shorten the 0:1/49:1 bit.enter image description here

#MATLAB, 16 bytes

I don't get why the MATLAB people here are missing the obvious

imshow(0:1/49:1)

This gives

Actual output

I'll admit, the squares are the size of no more than 1 pixel, but size doesn't matter, right? EDIT: Wait, it does. Gimme a moment :)

Kudos for anyone who can shorten the 0:1/49:1 bit.

#MATLAB, 24 bytes

Second attempt, now actually conforming to the rules.

imshow(0:1/49:1,'I',2e3)

The 'I' stands for 'InitialMagnification', but apparently Matlab will autocomplete names in name/value pairs. Sure is a good golfing trick!

enter image description here

Post Deleted by Sanchises
added 182 characters in body
Source Link
Sanchises
  • 9.5k
  • 1
  • 36
  • 61

#MATLAB, 16 bytes

I don't get why the MATLAB people here are missing the obvious

imshow(0:1/49:1)

This gives

Actual output

I'll admit, the squares are the size of no more than 1 pixel, but size doesn't matter, right? EDIT: Wait, it does. Gimme a moment :)

Kudos for anyone who can shorten the 0:1/49:1 bit.

#MATLAB, 16 bytes

I don't get why the MATLAB people here are missing the obvious

imshow(0:1/49:1)

Kudos for anyone who can shorten the 0:1/49:1 bit.

#MATLAB, 16 bytes

I don't get why the MATLAB people here are missing the obvious

imshow(0:1/49:1)

This gives

Actual output

I'll admit, the squares are the size of no more than 1 pixel, but size doesn't matter, right? EDIT: Wait, it does. Gimme a moment :)

Kudos for anyone who can shorten the 0:1/49:1 bit.

Source Link
Sanchises
  • 9.5k
  • 1
  • 36
  • 61
Loading