Items tagged with reverse


Is there a simple way to reverse the handedness of the axes? I have the following figure:

shadebetween(0, 2-x-y, x = 0 .. 1, y = x^2 .. sqrt(x), scaling = unconstrained, color = yellow, axes = normal, labels = [Z, Y, X], transparency = .9)

and I want the X and Y-axes reversed from a left-handed orientation to a right-handed orientation.

I have the following command (credit to @Carl Love ), this command will do certain bit shifting with the next block, and the last block will shift with the first block. 

B:= Matrix([[0,0,1,1,0,0,1], [0,0,1,1,1,0,0],[0,1,0,1,0,1,0], [1,0,0,1,1,1,0]]):
Bnew:= copy(B):
Bnew[[4,1,2,3], 3..5]:= B[.., 3..5]:

May i know any command can help to reverse the shifting position between the block?

for example,

original block  [0,0,1,1,0,0,1], [0,0,1,1,1,0,0],[0,1,0,1,0,1,0], [1,0,0,1,1,1,0]

i need to shift the 3..5 position of block 1 and change to the 5..3 position of block 2. 


After shifting, 


Any command can help to solve? thank you in advance.



[1.39794000867203, .698970004336017, 0., 1., .602059991327960, 1.30102999566398]

How do I reverse this process , ie get back [25,5,1,10,4,20] using map command. Obviously it's 10 to the power but map(10^,[1.39794000867203, .698970004336017, 0., 1., .602059991327960, 1.30102999566398]) won't work


Is there any way to reverse an axis in the plot command? I solved the baristochrone problem as 
a school project,but I did it using an upside-down Y axis. Of course, when I try to make a graph with
my solution, I'm getting a regular cycloid instead of an inverted one, since I was using a 
reverted Y axis when solving the problem. 

Help would be very appreciated as I couldn,t find anything on the subject.
Page 1 of 1